+8
-5
cmd/monarch/backfill.go
+8
-5
cmd/monarch/backfill.go
···-func NewBackfillService(store backfill.Store, h *HandlerService, workers int, consumers int) *backfill.Backfiller {return backfill.NewBackfiller("backfiller", store, h.HandleCreate, h.HandleUpdate, h.HandleDelete, opts)
···+func NewBackfillService(store backfill.Store, h *HandlerService, cctx *cli.Context) *backfill.Backfiller {return backfill.NewBackfiller("backfiller", store, h.HandleCreate, h.HandleUpdate, h.HandleDelete, opts)
+3
-2
cmd/monarch/census.go
+3
-2
cmd/monarch/census.go
······
······
+4
-2
cmd/monarch/firehose.go
+4
-2
cmd/monarch/firehose.go
···-func NewFirehoseConnection(ctx context.Context, cursorSvc *CursorService) (*websocket.Conn, error) {
···+func NewFirehoseConnection(ctx context.Context, cctx *cli.Context, cursorSvc *CursorService) (*websocket.Conn, error) {
+7
-5
cmd/monarch/main.go
+7
-5
cmd/monarch/main.go
···-app.backfill = NewBackfillService(backfill.NewGormstore(app.state), app.handler, workers, consumers)···
······