Skip to content

fix: add lazy-apps to uwsgi.ini [BB-7769]

Demid requested to merge uwsgi-lazy-apps-backport into totem

Description

Fixes intermittent pymongo.errors.ServerSelectionTimeoutError: No servers found yet errors that lead to problems with courses sometimes not loading or taking a while to load.

Backported to Tutor v14.0.5 from https://github.com/overhangio/tutor/pull/858.

Deployment notes

UWSGI needs more RAM to operate in this mode. Given that the prod already short on memory, before deploying this we have to assign more memory to the server.

Dependencies

tutor-server!61 (merged)

Edited by Demid

Merge request reports