@testdriverai/agent 7.11.188-test → 7.11.189-test
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agent/lib/sandbox.js +4 -2
- package/package.json +1 -1
package/agent/lib/sandbox.js
CHANGED
|
@@ -43,9 +43,11 @@ const createSandbox = function (emitter, analytics, sessionInstance) {
|
|
|
43
43
|
this._sandboxId = null;
|
|
44
44
|
this._disconnectedAt = null; // tracks when Realtime connection dropped (for timeout extension on reconnect)
|
|
45
45
|
|
|
46
|
-
//
|
|
46
|
+
// Ably enforces `channel.maxRate` (50 msg/sec) across *every* publisher
|
|
47
|
+
// on the session channel, not per connection. The SDK, the runner
|
|
48
|
+
// (20/sec), and the API all share it, so the SDK takes 25/sec.
|
|
47
49
|
this._publishLastTime = 0;
|
|
48
|
-
this._publishMinIntervalMs =
|
|
50
|
+
this._publishMinIntervalMs = 40;
|
|
49
51
|
this._publishCount = 0;
|
|
50
52
|
this._publishWindowStart = Date.now();
|
|
51
53
|
}
|