Include latest and earliest record times in state (#34)
Badges / coveralls (push) Successful in 1m1s

Reviewed-on: #34
Co-authored-by: Natercio Moniz <[email protected]>
This commit was merged in pull request #34.
This commit is contained in:
natercio authored and Natercio Moniz committed 2026-10-12 23:09:39 +01:00
1 parent 47f38fce2b
commit 41b287c804
3 files changed
+47 -11

No files matched your search

+3
View File
@@ -3,6 +3,7 @@ package internal
import (
"context"
"encoding/json"
"time"
"github.com/shopspring/decimal"
)
@@ -15,6 +16,8 @@ const StateVersion = "2"
type State struct {
Version string `json:"version"`
Platform string `json:"platform"`
Latest time.Time `json:"latest"`
Earliest time.Time `json:"earliest"`
Queues map[string][]persistedFiller `json:"queues"`
}