add correct backfile
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
f862abe5a4
commit
28e082f0fc
8 changed files with 317 additions and 35 deletions
|
|
@ -41,11 +41,11 @@ func main() {
|
|||
logger.Info("database connected")
|
||||
|
||||
st := store.New(pool)
|
||||
snap := snapshot.New(st, logger, cfg.SnapshotHorizonDays)
|
||||
pl := pipeline.New(st, pipeline.Config{
|
||||
OpenFIGIKey: cfg.OpenFIGIKey,
|
||||
CoinGeckoKey: cfg.CoinGeckoKey,
|
||||
}, logger)
|
||||
snap := snapshot.New(st, logger, cfg.SnapshotHorizonDays).WithBackfiller(pl)
|
||||
|
||||
sched := scheduler.New(logger)
|
||||
sched.Add(scheduler.Job{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue