Skip to content

Commit

Permalink
Retry auto-scaling on errors
Browse files Browse the repository at this point in the history
  • Loading branch information
plengauer authored Apr 28, 2024
1 parent 7482c7f commit bc42c49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Deployment/Containerized/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: philbot-containerized
Provides: philbot-deployment
Version: 2.12.5
Version: 2.12.6
Architecture: all
Depends: bash, debconf, coreutils, util-linux, findutils, parallel, awk, grep, cron, wget, curl, philbot-config (>= 4.0.0), docker.io, iptables-persistent, jq, opentelemetry-shell (>= 3.16.0)
Conflicts: philbot-baremetal, philbot-k8s
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source /usr/bin/philbot_init_otel
source /opt/philbot/shards
if [ -z "$SHARD_COUNT" ]; then exit 0; fi

SHARD_COUNT_NEW=$(curl --no-progress-meter "http://127.0.0.1:7999/gateway/shards")
SHARD_COUNT_NEW=$(curl --no-progress-meter --retry 8 --retry‐connrefused "http://127.0.0.1:7999/gateway/shards")
if [ "$SHARD_COUNT" -eq "$SHARD_COUNT_NEW" ]; then exit 0; fi

if [ "$SHARD_COUNT" -gt "0" ]; then
Expand Down

0 comments on commit bc42c49

Please sign in to comment.