Skip to content

op-batcher: merge the two tick loops and delete the clearStateRequested CAS mailbox #507

Description

@philippecamacho

The two tick loops each poll getSyncStatus and coordinate through the clearStateRequested CAS mailbox because neither owns all the state. Merging them into one loop (keeping both tickers, so cadence and observable behavior are unchanged) lets reset() call clearState directly and deletes the mailbox protocol entirely.

Original discussion: #459 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions