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:
Mouse Reeve 2023-04-26 06:13:03 -07:00 committed by GitHub
commit 7211906697
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ class ClearCeleryForm(forms.Form):
def celery_ping(request):
"""Just tells you if Celery is on or not"""
try:
ping = celery.control.inspect().ping(timeout=5)
ping = celery.control.inspect().ping()
if ping:
return HttpResponse()
# pylint: disable=broad-except