This commit is contained in:
eson 2023-08-09 19:02:32 +08:00
parent 07a3b90b3a
commit 5c892e1f0e

2
sm.go
View File

@ -24,7 +24,6 @@ type SMQueue struct {
mu *sync.Mutex
// 组名到队列的映射
queues map[string]*PriorityQueue[QueueItem]
counter *triggered.EventExecute[int64]
}
@ -59,7 +58,6 @@ func NewSMQueue(shardID uint64, replicaID uint64) sm.IStateMachine {
// we always return the Count value as a little endian binary encoded byte
// slice.
func (s *SMQueue) Lookup(group interface{}) (item interface{}, err error) {
return item, nil
}