mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 09:19:30 +08:00
The per-instance _cas_lock only serialized save_cas on the same LearningStore instance. save() was unprotected and request handlers create fresh instances. Moving to a module-level _cas_lock ensures compare-and-semantics hold across concurrent requests.