Skip to content

Commit

Permalink
Merge pull request #2 from pjknkda/fix/wrong_keepalive_interval
Browse files Browse the repository at this point in the history
fix: wrong keepalive check interval
  • Loading branch information
pjknkda authored Aug 2, 2022
2 parents e9f8bb3 + e6ed3c6 commit 287eb01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rabbit_tunnel_server/multiplexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
_SETUP_HEADER_MAX_SIZE = 16 * 2**10 # 16 KB
_SETUP_CONNECTED_TIMEOUT = 10 # 10 seconds

_KEEPALIVE_INTERVAL = 3 # 30 seconds
_KEEPALIVE_COUNT = 2
_KEEPALIVE_INTERVAL = 30 # 30 seconds
_KEEPALIVE_COUNT = 3

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit 287eb01

Please sign in to comment.