Skip to content

Commit

Permalink
Merge pull request #92 from silverwind/patch-1
Browse files Browse the repository at this point in the history
Remove useless calculation
  • Loading branch information
olahol authored Apr 16, 2024
2 parents 01879ee + 96355c8 commit 7ad55bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func newConfig() *Config {
return &Config{
WriteWait: 10 * time.Second,
PongWait: 60 * time.Second,
PingPeriod: (60 * time.Second * 9) / 10,
PingPeriod: 54 * time.Second,
MaxMessageSize: 512,
MessageBufferSize: 256,
}
Expand Down

0 comments on commit 7ad55bd

Please sign in to comment.