fix: increased hid pruning time to 20 minutes

This commit is contained in:
evilsocket 2019-03-19 13:57:34 +01:00
parent 3e8d6512e1
commit 39f9a02c98
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
2 changed files with 3 additions and 1 deletions

View file

@ -61,7 +61,7 @@ func (mod *HIDRecon) onDeviceDetected(buf []byte) {
}
}
var maxDeviceTTL = 10 * time.Minute
var maxDeviceTTL = 20 * time.Minute
func (mod *HIDRecon) devPruner() {
mod.waitGroup.Add(1)