Skip to content

Commit

Permalink
Merge pull request locustio#2125 from locustio/Increase-CONNECT_RETRY…
Browse files Browse the repository at this point in the history
…_COUNT-to-avoid-workers-giving-up-too-soon-if-master-is-not-up-yet

Increase CONNECT_RETRY_COUNT to avoid workers giving up too soon if master is not up yet
  • Loading branch information
cyberw authored Jun 28, 2022
2 parents c39d8bb + 5bf50cc commit e5e49b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locust/runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
HEARTBEAT_DEAD_INTERNAL = -60
FALLBACK_INTERVAL = 5
CONNECT_TIMEOUT = 5
CONNECT_RETRY_COUNT = 2
CONNECT_RETRY_COUNT = 60


greenlet_exception_handler = greenlet_exception_logger(logger)
Expand Down

0 comments on commit e5e49b6

Please sign in to comment.