chore: Limit conversation resolution Job (#6433)

We will be adding a limit to the resolution job so that it is performed at a spaced interval. This will ensure there won't be a sudden spike in resource usage

fixes: chatwoot/product#707
This commit is contained in:
Sojan Jose
2023-02-13 14:00:52 +05:30
committed by GitHub
parent a06a5a574a
commit 5cbfcfbfa0
4 changed files with 16 additions and 4 deletions

3
lib/limits.rb Normal file
View File

@@ -0,0 +1,3 @@
module Limits
BULK_ACTIONS_LIMIT = 100
end