diff --git a/common/event_cache.go b/common/event_cache.go index c780911c6..c3fc70ed5 100644 --- a/common/event_cache.go +++ b/common/event_cache.go @@ -65,11 +65,6 @@ func (cache *ForgetfulEventCache) Store(event *edge_ctrl_pb.DataState_Event, onS } if cache.index != nil { - if *cache.index >= event.Index { - //already past this index - return nil - } - if *cache.index >= event.Index { return fmt.Errorf("out of order event detected, currentIndex: %d, recievedIndex: %d, type :%T", *cache.index, event.Index, cache) }