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