Skip to content

Commit

Permalink
fix (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmanko authored Jan 23, 2024
1 parent ee2e329 commit b716fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workflows/botswana/workflowHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class WorkflowHandler {

// Initialize Kafka producer when the class is first used.
public static async initKafkaProducer() {
if (!this.kafkaProducerInitialized) {
if (!this.kafkaProducerInitialized && config.get('taskRunner:brokers')) {
await this.kafka.init()
this.kafkaProducerInitialized = true
}
Expand Down

0 comments on commit b716fbe

Please sign in to comment.