update at 2019-11-26 12:23:55 by ehlxr
This commit is contained in:
parent
e6fbd27eb1
commit
e8138675e6
@ -33,7 +33,6 @@ func (limiter *LimiterServer) IsAvailable() bool {
|
|||||||
if limiter.reqCount < limiter.maxCount {
|
if limiter.reqCount < limiter.maxCount {
|
||||||
limiter.reqCount += 1
|
limiter.reqCount += 1
|
||||||
limiter.time = now
|
limiter.time = now
|
||||||
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user