删掉垃圾数据
This commit is contained in:
parent
68787ed426
commit
fb96268d7e
4
main.go
4
main.go
|
@ -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)
|
||||
|
|
|
@ -6,7 +6,6 @@ import (
|
|||
|
||||
func init() {
|
||||
log.SetFlags(log.Llongfile)
|
||||
|
||||
}
|
||||
|
||||
// func TestStartNodeA(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user