Skip to content

Commit

Permalink
set joinchannel req limits
Browse files Browse the repository at this point in the history
  • Loading branch information
Sagleft committed Dec 14, 2022
1 parent 9179884 commit fbc616c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions v2/internal/utopia/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ func getRateLimiters() rateLimiters {
return rateLimiters{
reqDefault: rate.New(defaultRequestsPerSecond, time.Second),
reqGetChannelContacts: rate.New(10, time.Second),
reqJoinChannel: rate.New(4, time.Second),
}
}

Expand Down

0 comments on commit fbc616c

Please sign in to comment.