Skip to content

Commit

Permalink
Fix global ratelimit not working on stand-alone mode
Browse files Browse the repository at this point in the history
  • Loading branch information
germanoeich committed May 7, 2022
1 parent 0483b1d commit 6cfb09a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/queue_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func (m *QueueManager) fulfillRequest(resp *http.ResponseWriter, req *http.Reque
return
}

if q.identifier != "NoAuth" && m.cluster != nil {
if q.identifier != "NoAuth" {
var botHash uint64 = 0
if q.user != nil {
botHash = HashCRC64(q.user.Id)
Expand Down

0 comments on commit 6cfb09a

Please sign in to comment.