Skip to content

Commit

Permalink
Fix frequent consumer disconnects
Browse files Browse the repository at this point in the history
Setting the "timeout" value causes frequent disconnects.

JIRA: RHELWF-7233
  • Loading branch information
hluk committed Aug 1, 2022
1 parent 789994f commit 954d40e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion docker/greenwave-settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
LISTENER_CONNECTION = {
"heartbeats": (10000, 20000),
"keepalive": True,
"timeout": 5000,
"reconnect_sleep_initial": 1.0,
"reconnect_sleep_increase": 1.0,
"reconnect_sleep_max": 10.0,
Expand Down
1 change: 0 additions & 1 deletion greenwave/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ class Config(object):
# cause the timeout.
"heartbeats": (5 * 60 * 1000, 5 * 60 * 1000),
"keepalive": True,
"timeout": 30.0,
"reconnect_sleep_initial": 1.0,
"reconnect_sleep_increase": 1.0,
"reconnect_sleep_max": 30.0,
Expand Down

0 comments on commit 954d40e

Please sign in to comment.