Skip to content

Commit

Permalink
Fix 502 error on "?format=datatables" requests
Browse files Browse the repository at this point in the history
The uwsgi buffer size was too small to account for large headers in requests
with datatables query parameters. This issue is resolved by increasing the
buffer size.

See docs: https://uwsgi-docs.readthedocs.io/en/latest/ThingsToKnow.html

Seei conversation: https://discuss.overhang.io/t/e-commerce-course-admin-page-threw-datatable-ajax-errors/1216/4

Close #14.
  • Loading branch information
regisb committed Jan 20, 2021
1 parent e53486b commit 6df2c99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tutorecommerce/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "11.0.0"
__version__ = "11.0.1"
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,5 @@ CMD uwsgi \
--single-interpreter \
--enable-threads \
--processes=2 \
--buffer-size=8192 \
--wsgi-file ecommerce/wsgi.py

0 comments on commit 6df2c99

Please sign in to comment.