Skip to content

Commit

Permalink
rob sync (#236)
Browse files Browse the repository at this point in the history
* perform a watermark sync before starting a full differential sync

* perform watermark before full-differential sync on interval

* remove conditional filter instatiation
  • Loading branch information
gertd authored Jan 15, 2024
1 parent 02b5070 commit 314bbcd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/edge/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ func (s *Sync) Run(fs bool) {

wm := s.getWatermark(fs)

if fs {
s.filter = cuckoo.NewFilter(wm.getFilterSize())
}
s.filter = cuckoo.NewFilter(wm.getFilterSize())

g.Go(func() error {
return s.subscriber(wm)
Expand Down

0 comments on commit 314bbcd

Please sign in to comment.