Skip to content

Commit

Permalink
chore: update health-check
Browse files Browse the repository at this point in the history
  • Loading branch information
weyoss committed Dec 17, 2023
1 parent bbccf7c commit 81edb25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/health-check/combined-run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { async, ICallback } from 'redis-smq-common';
import {
Producer,
Consumer,
MessageEnvelope,
ProducibleMessage,
Queue,
disconnect,
EQueueType,
Expand All @@ -24,7 +24,7 @@ const produceForever = (err?: Error | null) => {
if (err) console.log(err);
else {
if (producer.isGoingUp() || producer.isRunning()) {
const message = new MessageEnvelope()
const message = new ProducibleMessage()
.setBody('some data')
.setQueue(queueName);
producer.produce(message, produceForever);
Expand Down

0 comments on commit 81edb25

Please sign in to comment.