Skip to content

Commit

Permalink
reduce sendMessageDelay
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed Jan 29, 2025
1 parent a4ffb6f commit 8a996e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitswap/client/internal/messagequeue/messagequeue.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const (
// when we reach sendMessageCutoff wants/cancels, we'll send the message immediately.
sendMessageCutoff = 256
// wait this long before sending next message
sendMessageDelay = 200 * time.Millisecond
sendMessageDelay = 20 * time.Millisecond
sendTimeout = 30 * time.Second
)

Expand Down

0 comments on commit 8a996e9

Please sign in to comment.