Fix oomkiller

This commit is contained in:
世界
2026-08-30 17:41:43 +08:00
parent 5ee69759e1
commit 3af1325a93
5 changed files with 19 additions and 31 deletions
+3
View File
@@ -2,7 +2,10 @@
package oomkiller
import runtimeDebug "runtime/debug"
func (t *adaptiveTimer) notifyPressure() {
runtimeDebug.FreeOSMemory()
t.access.Lock()
t.startLocked()
t.forceMinInterval = true