提交
This commit is contained in:
parent
07a3b90b3a
commit
5c892e1f0e
2
sm.go
2
sm.go
|
@ -24,7 +24,6 @@ type SMQueue struct {
|
||||||
mu *sync.Mutex
|
mu *sync.Mutex
|
||||||
// 组名到队列的映射
|
// 组名到队列的映射
|
||||||
queues map[string]*PriorityQueue[QueueItem]
|
queues map[string]*PriorityQueue[QueueItem]
|
||||||
|
|
||||||
counter *triggered.EventExecute[int64]
|
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
|
// we always return the Count value as a little endian binary encoded byte
|
||||||
// slice.
|
// slice.
|
||||||
func (s *SMQueue) Lookup(group interface{}) (item interface{}, err error) {
|
func (s *SMQueue) Lookup(group interface{}) (item interface{}, err error) {
|
||||||
|
|
||||||
return item, nil
|
return item, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user