Handling cold start

This commit is contained in:
Samuel Clay 2021-03-11 10:08:59 -05:00
parent 3340ae9081
commit 926fb2d62b

View file

@ -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)