mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-05 16:49:45 +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:
|
except Exception, e:
|
||||||
failed = e
|
failed = e
|
||||||
|
|
||||||
if feeds_fetched < 5000000 and feeds_fetched <= (redis_task_fetches - FETCHES_DROP_AMOUNT):
|
if feeds_fetched < 5000000:
|
||||||
failed = True
|
if redis_task_fetches > 0 and feeds_fetched <= (redis_task_fetches - FETCHES_DROP_AMOUNT):
|
||||||
|
failed = True
|
||||||
|
|
||||||
if failed:
|
if failed:
|
||||||
requests.post(
|
requests.post(
|
||||||
|
|
Loading…
Add table
Reference in a new issue