You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running this under uwsgi with multiple processes (e.g. -p 2), you start seeing errors like this:
File "./server.py", line 385, in save
os.rename(list_path + "~", list_path)
FileNotFoundError: [Errno 2] No such file or directory: '/srv/serverlist/static/list.json~' -> '/srv/serverlist/static/list.json'
We do have a lock to prevent multiple threads from doing this, but not to prevent multiple workers from doing this.
The text was updated successfully, but these errors were encountered:
When running this under uwsgi with multiple processes (e.g.
-p 2
), you start seeing errors like this:We do have a lock to prevent multiple threads from doing this, but not to prevent multiple workers from doing this.
The text was updated successfully, but these errors were encountered: