mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-18 19:43:26 +02:00
Bugfix/slack rate limiting (#4386)
* use slack's built in rate limit handler for the bot * WIP * fix the slack rate limit handler * change default to 8 * cleanup * try catch int conversion just in case * linearize this logic better * code review comments --------- Co-authored-by: Richard Kuo (Onyx) <rkuo@onyx.app>
This commit is contained in:
@@ -125,6 +125,7 @@ class TenantRedis(redis.Redis):
|
||||
"hset",
|
||||
"hdel",
|
||||
"ttl",
|
||||
"pttl",
|
||||
] # Regular methods that need simple prefixing
|
||||
|
||||
if item == "scan_iter" or item == "sscan_iter":
|
||||
|
Reference in New Issue
Block a user