mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-10-31 22:19:00 +00:00
Revert "Increase Celery ping timeout for monitoring page"
This commit is contained in:
parent
b77ae9e783
commit
7bd9623b68
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ class ClearCeleryForm(forms.Form):
|
||||||
def celery_ping(request):
|
def celery_ping(request):
|
||||||
"""Just tells you if Celery is on or not"""
|
"""Just tells you if Celery is on or not"""
|
||||||
try:
|
try:
|
||||||
ping = celery.control.inspect().ping(timeout=5)
|
ping = celery.control.inspect().ping()
|
||||||
if ping:
|
if ping:
|
||||||
return HttpResponse()
|
return HttpResponse()
|
||||||
# pylint: disable=broad-except
|
# pylint: disable=broad-except
|
||||||
|
|
Loading…
Reference in a new issue