mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-10-27 13:36:57 +00:00
Fix oomkiller
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
|
||||
package oomkiller
|
||||
|
||||
import runtimeDebug "runtime/debug"
|
||||
|
||||
func (t *adaptiveTimer) notifyPressure() {
|
||||
runtimeDebug.FreeOSMemory()
|
||||
t.access.Lock()
|
||||
t.startLocked()
|
||||
t.forceMinInterval = true
|
||||
|
||||
Reference in New Issue
Block a user