This commit is contained in:
eson 2023-09-28 17:33:03 +08:00
parent 986c3b929a
commit af4aedf173

View File

@ -30,8 +30,9 @@ var DequeueHandler = triggered.RegisterExecute(func(params *triggered.Params[boo
item, err := stateClient.PopItem(cs, "unity3d")
if err != nil {
log.Println(err)
break
return
}
if item == nil {
time.Sleep(time.Millisecond * 100)
return