删掉垃圾数据

This commit is contained in:
eson 2023-11-13 23:29:32 +08:00
parent 68787ed426
commit fb96268d7e
2 changed files with 1 additions and 4 deletions

View File

@ -21,12 +21,10 @@ var shardID uint64 = 128
// 出队的逻辑注册触发函数, 当
var DequeueHandler = triggered.RegisterExecute(func(params *triggered.Params[bool]) {
log.Println("DequeueHandler 触发数据")
params.Shared.Value(func(v any) {
params.Shared.Value(func(v any) {
cs := stateClient.GetNoOPSession()
for {
item, err := stateClient.PopItem(cs, "unity3d")
if err != nil {
log.Println(err)

View File

@ -6,7 +6,6 @@ import (
func init() {
log.SetFlags(log.Llongfile)
}
// func TestStartNodeA(t *testing.T) {