Skip to content

Commit

Permalink
clean up requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
weiiwang01 committed Dec 11, 2024
1 parent 4dbc03a commit e494868
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
ops >= 2.2.0
cryptography == 44.0.0
requests == 2.32.3
requests == 2.32.3
2 changes: 1 addition & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def _install_callback_script(self, health_check_url: str) -> pathlib.Path:
script = textwrap.dedent(
f"""\
while :; do
if curl -sfo /dev/null "{health_check_url}"; then
if curl -m 3 -sfo /dev/null "{health_check_url}"; then
pebble notify canonical.com/opencti/platform-healthy
pebble stop charm-callback
break
Expand Down

0 comments on commit e494868

Please sign in to comment.