We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe1f879 commit 30b1294Copy full SHA for 30b1294
lib/core/odp/odp_event_manager.ts
@@ -336,16 +336,18 @@ export abstract class OdpEventManager implements IOdpEventManager {
336
if (this.status !== Status.Running) {
337
return;
338
}
339
-
340
- this.clearCurrentTimeout();
341
342
if (shouldFlush) {
343
// clear the queue completely
+ this.clearCurrentTimeout();
+
344
while (this.queueContainsItems()) {
345
this.makeAndSend1Batch();
346
347
} else if (this.queueHasBatches()) {
348
// Check if queue has a full batch available
349
350
351
while (this.queueHasBatches()) {
352
353
0 commit comments