1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-06 08:37:30 +02:00

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
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);
}
}