mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Handling cold start
This commit is contained in:
parent
3340ae9081
commit
926fb2d62b
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ def db_check_redis_pubsub():
|
|||
except:
|
||||
abort(504)
|
||||
|
||||
if pubsub_numpat:
|
||||
if isinstance(pubsub_numpat, int):
|
||||
return str(pubsub_numpat)
|
||||
else:
|
||||
abort(505)
|
||||
|
|
Loading…
Add table
Reference in a new issue