Abhilash Raj pushed to branch master at GNU Mailman / Mailman Core


Commits:
c35319b5 by Abhilash Raj at 2021-01-21T08:18:00+00:00
Increase the default timeout for REST API.

Some API endpoints, like /members in particular can be very slow and cause a
timeout in Gunicorn causing clients to see 500 errors. This increases the
timeout to 360s (6minutes)

- - - - -
55948fdc by Abhilash Raj at 2021-01-21T08:18:00+00:00
Merge branch 'timeout' into 'master'

Increase the default timeout for REST API.

See merge request mailman/mailman!765
- - - - -


2 changed files:

- src/mailman/config/gunicorn.cfg
- src/mailman/docs/NEWS.rst


Changes:

=====================================
src/mailman/config/gunicorn.cfg
=====================================
@@ -5,3 +5,6 @@
 
 # No of seconds to wait before killing the worker processes.
 graceful_timeout = 30
+
+# Timeout for the requests.
+timeout = 360


=====================================
src/mailman/docs/NEWS.rst
=====================================
@@ -38,6 +38,8 @@ Bugs
   (Closes #815)
 * Mailman's ``vette`` log discard messages now include the reasons.
   (Closes #816)
+* Increase the default REST API (gunicorn) timeout to 360 seconds from 30 as
+  several API endpoinds can be very slow. (Closes #770)
 
 Command line
 ------------



View it on GitLab: 
https://gitlab.com/mailman/mailman/-/compare/836a9b93f71e9d25449f66ae5b57406d1f3252f6...55948fdc3849032bc83eba5fbe0125b3505337ec

-- 
View it on GitLab: 
https://gitlab.com/mailman/mailman/-/compare/836a9b93f71e9d25449f66ae5b57406d1f3252f6...55948fdc3849032bc83eba5fbe0125b3505337ec
You're receiving this email because of your account on gitlab.com.


_______________________________________________
Mailman-checkins mailing list -- mailman-checkins@python.org
To unsubscribe send an email to mailman-checkins-le...@python.org
https://mail.python.org/mailman3/lists/mailman-checkins.python.org/
Member address: arch...@jab.org

Reply via email to