You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Re-implement the config hook inside the `BeaconSyncRef` descriptor
why
The implementation on PR #3619 relied on a global variable to be set
before the constructor was called. This not gc-safe in general (see
remarks on PR #3619.)
* Remove `shouldRun()` from syncer
why
The decision whether running the syncer will have any effect at all
should be made only within the function that sets up the syncer. There
is no need for an external register (i.e. `ctx.shouldRun`.)
* Fix header records list `metrics` race condition
why
By using list manipulation functions directly (e.g.
ctx.hdr.staged.clear() without updating `metrics`) there were
odd metrics states displayed.
The `header` module now always uses wrappers for changing the header
records list. These wrappers update the `metrics` variable accordingly.
* Fix potential block records list `metrics` race condition
why
The `block` module now always uses wrappers for changing the block
records list. These wrappers update the `metrics` variable accordingly.
0 commit comments