mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 18:06:55 +00:00
Add unique client counting
This commit is contained in:
parent
89ff64f52c
commit
81c477cd6b
7 changed files with 374 additions and 1 deletions
|
@ -165,6 +165,10 @@ func updateSysMem() {
|
|||
if err == nil {
|
||||
Statistics.SysMemTotalKB = memInfo.MemTotal
|
||||
Statistics.SysMemFreeKB = memInfo.MemAvailable
|
||||
|
||||
if memInfo.MemAvailable > 0 && memInfo.MemAvailable < Configuration.MinMemoryKBytes {
|
||||
writeAllHLLs()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue