removed sleep, rl is in effect anyway
This commit is contained in:
@@ -21,7 +21,6 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
//goland:noinspection SpellCheckingInspection
|
|
||||||
const (
|
const (
|
||||||
APPID = 730
|
APPID = 730
|
||||||
)
|
)
|
||||||
|
@@ -301,7 +301,6 @@ func GetNewShareCodesForPlayer(player *ent.Player, lock *sync.RWMutex, apiKey st
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
time.Sleep(time.Second)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
lock.Lock()
|
lock.Lock()
|
||||||
|
Reference in New Issue
Block a user