mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
Limiting work queue checks.
This commit is contained in:
parent
e4cfb73b4f
commit
3811d288d8
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ def main():
|
|||
except Exception, e:
|
||||
failed = e
|
||||
|
||||
if work_queue_size > 100 and work_queue_size >= (redis_work_queue - QUEUE_DROP_AMOUNT):
|
||||
if work_queue_size > 100 and work_queue_size > (redis_work_queue + QUEUE_DROP_AMOUNT):
|
||||
failed = True
|
||||
|
||||
if failed:
|
||||
|
|
Loading…
Add table
Reference in a new issue