mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
Failed feeds fetched monitor needs to handle edge case.
This commit is contained in:
parent
9662a37af7
commit
e7eeb6a2a2
1 changed files with 3 additions and 2 deletions
|
@ -31,8 +31,9 @@ def main():
|
|||
except Exception, e:
|
||||
failed = e
|
||||
|
||||
if feeds_fetched < 5000000 and feeds_fetched <= (redis_task_fetches - FETCHES_DROP_AMOUNT):
|
||||
failed = True
|
||||
if feeds_fetched < 5000000:
|
||||
if redis_task_fetches > 0 and feeds_fetched <= (redis_task_fetches - FETCHES_DROP_AMOUNT):
|
||||
failed = True
|
||||
|
||||
if failed:
|
||||
requests.post(
|
||||
|
|
Loading…
Add table
Reference in a new issue