mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-09-22 07:56:53 +00:00
oomkiller: Suppress unused lint for recordPressure on non-darwin platforms
This commit is contained in:
@@ -324,6 +324,7 @@ func (r *Recorder) sample(sample memorySample, state pressureState, connections
|
||||
r.chown(timelinePath)
|
||||
}
|
||||
|
||||
//nolint:unused
|
||||
func (r *Recorder) recordPressure(sample memorySample) {
|
||||
r.access.Lock()
|
||||
defer r.access.Unlock()
|
||||
|
||||
Reference in New Issue
Block a user