Skip to content

cachedOpsTimeout #219

Closed
Closed
@dcharbonnier

Description

@dcharbonnier

The doc define a timeout for each of the op

    setTimeout(function() {
        if (this.cachedOps[0] === op) this.cachedOps.shift();
      }.bind(this), 
      this.cachedOpsTimeout)
  1. After a this.cachedOps.length = 0 we could already clear them.
  2. Running the unit tests take the time of the tests + the cachedOpsTimeout duration, it seams quite complicated to call destroy() on all docs when we close the sharedb server so at least it should be possible to redefine cachedOpsTimeout globaly.

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