fix(file cache): acquire lock before writing (#3509)

This commit is contained in:
Dag 2023-07-08 17:06:49 +02:00 committed by GitHub
parent 8b996e3056
commit 91976f7d56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -77,6 +77,6 @@ final class Logger
// Log to file
// todo: extract to log handler
//file_put_contents('/tmp/rss-bridge.log', $text, FILE_APPEND);
// file_put_contents('/tmp/rss-bridge.log', $text, FILE_APPEND | LOCK_EX);
}
}