mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2026-11-02 08:37:13 +00:00
With several gunicorn workers and an empty cache, every worker ran the brickdb unpack at once and workers crashed with FileExistsError on app/cache/brickprimitives. Serialize it with a file lock, extract to a temp dir and move into place, and mark completion with a marker file. Co-authored-by: bob-g-code <bob-g-code@users.noreply.github.com>
14 KiB
14 KiB