Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove unnecessary line
Browse files Browse the repository at this point in the history
raju-opti committed Apr 5, 2024
1 parent 30b1294 commit 117a4b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/core/odp/odp_event_manager.ts
Original file line number Diff line number Diff line change
@@ -305,7 +305,6 @@ export abstract class OdpEventManager implements IOdpEventManager {
this.logger.log(LogLevel.WARNING, 'Failed to Process ODP Event. ODPEventManager is not running.');
return;
}
const hasNecessaryIdentifiers = this.hasNecessaryIdentifiers;

if (!this.hasNecessaryIdentifiers(event)) {
this.logger.log(LogLevel.ERROR, 'ODP events should have at least one key-value pair in identifiers.');
@@ -347,7 +346,7 @@ export abstract class OdpEventManager implements IOdpEventManager {
} else if (this.queueHasBatches()) {
// Check if queue has a full batch available
this.clearCurrentTimeout();

while (this.queueHasBatches()) {
this.makeAndSend1Batch();
}

0 comments on commit 117a4b5

Please sign in to comment.