mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 08:28:31 +00:00
Revert switching cache implementation
This commit is contained in:
parent
7657357164
commit
8767206105
2 changed files with 9 additions and 27 deletions
|
@ -38,7 +38,7 @@ type StatsData struct {
|
|||
MemoryInUseKB uint64
|
||||
MemoryRSSKB uint64
|
||||
|
||||
ResponseCacheItems uint64
|
||||
ResponseCacheItems int
|
||||
MemPerClientBytes uint64
|
||||
|
||||
CpuUsagePct float64
|
||||
|
@ -169,6 +169,7 @@ func updatePeriodicStats() {
|
|||
|
||||
{
|
||||
Statistics.Uptime = nowUpdate.Sub(Statistics.StartTime).String()
|
||||
Statistics.ResponseCacheItems = Backend.responseCache.ItemCount()
|
||||
}
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue