mirror of
https://github.com/ap-pauloafonso/ratio-spoof.git
synced 2026-03-11 17:45:32 +00:00
commit
bf8f931386
1 changed files with 3 additions and 3 deletions
|
|
@ -266,10 +266,10 @@ func (R *ratioSpoofState) firstAnnounce() {
|
|||
}
|
||||
|
||||
func (R *ratioSpoofState) updateInterval(resp trackerResponse) {
|
||||
if resp.minInterval > 0 {
|
||||
R.announceInterval = resp.minInterval
|
||||
} else {
|
||||
if resp.interval > 0 {
|
||||
R.announceInterval = resp.interval
|
||||
} else {
|
||||
R.announceInterval = 1800
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue