Skip to content

Commit

Permalink
Adjust spam intervals
Browse files Browse the repository at this point in the history
  • Loading branch information
kegsay committed Jul 24, 2023
1 parent 1f9c98e commit 6c83b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync3/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
// The amount of time to artificially wait if the server detects spamming clients. This time will
// be added to responses when the server detects the same request being sent over and over e.g
// /sync?pos=5 then /sync?pos=5 over and over. Likewise /sync without a ?pos=.
var SpamProtectionInterval = time.Second
var SpamProtectionInterval = 10 * time.Millisecond

type ConnID struct {
UserID string
Expand Down

0 comments on commit 6c83b3a

Please sign in to comment.