eventstore: QueryEvents() to take a maxLimit param now so everything is clearer.
This commit is contained in:
@@ -95,7 +95,7 @@ func (sys *System) FetchSpecificEvent(
|
||||
|
||||
// try to fetch in our internal eventstore first
|
||||
if !params.SkipLocalStore {
|
||||
for evt := range sys.Store.QueryEvents(filter) {
|
||||
for evt := range sys.Store.QueryEvents(filter, 1) {
|
||||
return &evt, nil, nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user