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
{{ message }}
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.
Quickly scanning through the code - seems to be happening because you're not using file-locking and thus if you're accessing the file from more scripts running at the same time, you may get partial file because of the race-conditions. file_put_contents and file_get_contents are not atomic operations. This may be solved with LOCK_EX in the file_put_contents AND using flock around file_get_contents (or using flock/fopen instead of the file_get_contents altogether).
It seems like it happens randomly without any cause.
The text was updated successfully, but these errors were encountered: