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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user