mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-12 00:30:15 +00:00
Fix writing push event
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
parent
b51943d8a1
commit
2c9a1f3fad
1 changed files with 1 additions and 0 deletions
|
|
@ -364,6 +364,7 @@ readonly class DockerController {
|
|||
private function writeEventsToFile(array $payload): void {
|
||||
$eventJson = json_encode($payload);
|
||||
|
||||
$eventsFile = DataConst::GetContainerEventsFile();
|
||||
// Append new event (atomic via LOCK_EX)
|
||||
file_put_contents($eventsFile, $eventJson . PHP_EOL, FILE_APPEND | LOCK_EX);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue