mirror of
https://github.com/ShaYmez/allmon2-last-heard.git
synced 2024-11-27 02:09:19 -05:00
Reduce file size
This commit is contained in:
parent
1d4e4401f9
commit
094a142618
@ -139,7 +139,7 @@ class Stream
|
||||
$this->keyed[$node] = $keyedNow ?: null;
|
||||
|
||||
if ($keyedBefore !== $keyedNow) {
|
||||
if (filesize($this->streamOutput) >= 10240) {
|
||||
if (filesize($this->streamOutput) >= 4096) {
|
||||
file_put_contents($this->streamOutput, '');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user