+10
-29
cmd/monarch/census.go
+10
-29
cmd/monarch/census.go
······+func NewCensusService(cursorSvc *CursorService, backfillSvc *backfill.Backfiller) *CensusService {············
-1
cmd/monarch/cursors.go
-1
cmd/monarch/cursors.go
+7
-3
cmd/monarch/firehose.go
+7
-3
cmd/monarch/firehose.go
···-if err := cs.store.Where("key = ?", "firehose").Attrs(firehoseCursor{Val: cs.firehoseSeq}).FirstOrCreate(&fcur).Error; err != nil {···-if err := cs.store.Where("key = ?", "firehose").Assign(firehoseCursor{Val: cs.firehoseSeq}).FirstOrCreate(&fcur).Error; err != nil {+if err := cs.store.Where(firehoseCursor{Key: "firehose"}).Update("val", cs.firehoseSeq).Error; err != nil {
+32
cmd/monarch/hosts.go
+32
cmd/monarch/hosts.go
···
+1
-1
cmd/monarch/main.go
+1
-1
cmd/monarch/main.go
···