Skip to content

Commit

Permalink
fix: reducing punch packet interval to 50 ms
Browse files Browse the repository at this point in the history
  • Loading branch information
tegefaulkes committed Oct 5, 2022
1 parent d12169b commit 6d0b677
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/network/Connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ abstract class Connection {
tlsConfig,
keepAliveTimeoutTime = 20000,
endTime = 1000,
punchIntervalTime = 1000,
punchIntervalTime = 50,
keepAliveIntervalTime = 1000,
logger,
}: {
Expand Down
2 changes: 1 addition & 1 deletion src/network/Proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class Proxy {
connConnectTime = 20000,
connKeepAliveTimeoutTime = 20000,
connEndTime = 1000,
connPunchIntervalTime = 1000,
connPunchIntervalTime = 50,
connKeepAliveIntervalTime = 1000,
connectionEstablishedCallback = () => {},
logger,
Expand Down

0 comments on commit 6d0b677

Please sign in to comment.