mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-24 07:17:44 +00:00
Remove call to UTC() which is not necessary.
This commit is contained in:
1 parent
d0ae47e2ce
commit
fdb41bbd50
4 files changed
+7
-7
No files matched your search
@@ -72,7 +72,7 @@ func (queue *TimedQueue) RemovedEntries() <-chan interface{} {
|
||||
|
||||
func (queue *TimedQueue) cleanup(tick <-chan time.Time) {
|
||||
for now := range tick {
|
||||
nowSec := now.UTC().Unix()
|
||||
nowSec := now.Unix()
|
||||
for {
|
||||
queue.access.RLock()
|
||||
queueLen := queue.queue.Len()
|
||||
|
||||
Reference in new issue
Block a user