mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-06-17 12:40:45 +00:00
Merge pull request #2837 from bookwyrm-social/revert-2798-celery-increase-ping-timeout
Revert "Increase Celery ping timeout for monitoring page"
This commit is contained in:
commit
7211906697
|
@ -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