mirror of
https://github.com/status-im/fathom.git
synced 2025-02-28 19:10:36 +00:00
empty report should have PoolEmpty: true value to prevent aggregator from re-running
This commit is contained in:
parent
23793bde60
commit
f9ae32f871
@ -44,6 +44,7 @@ func (agg *Aggregator) Run() Report {
|
||||
pageviews, err := agg.database.GetProcessablePageviews(limit)
|
||||
emptyReport := Report{
|
||||
Processed: 0,
|
||||
PoolEmpty: true,
|
||||
}
|
||||
if err != nil && err != datastore.ErrNoResults {
|
||||
log.Error(err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user