MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / _tryIssueRelease

Method _tryIssueRelease

lib/stream-id-stack.js:165–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163 }
164
165 _tryIssueRelease() {
166 if (this.releaseTimeout || this.groups.length <= releasableSize) {
167 //Nothing to release or a release delay has been issued
168 return;
169 }
170
171 this.releaseTimeout = setTimeout(() => this._releaseGroups(), this.releaseDelay);
172 }
173
174 _releaseGroups() {
175 let counter = 0;

Callers 2

pushMethod · 0.95
_releaseGroupsMethod · 0.95

Calls 1

_releaseGroupsMethod · 0.95

Tested by

no test coverage detected