Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
collectionviews: Synchronize concurrent ensure_initiated functions
It is possible for concurrent requests to be served by different threads in the same Python process, resulting in unexpected behaviour if the wrapper function from ensure_initiated is not finished executing for the first time. To solve this, wrap the critical code in a lock. https://phabricator.endlessm.com/T35159
- Loading branch information