mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-02 17:14:38 +02:00
fix(file cache): acquire lock before writing (#3509)
This commit is contained in:
parent
8b996e3056
commit
91976f7d56
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue