Skip to content

Commit

Permalink
Connect to NATS server using IPv4
Browse files Browse the repository at this point in the history
  • Loading branch information
exAspArk committed Jan 15, 2025
1 parent d33f9df commit 4de07ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { runIngestionLoop } from '../../core/src/ingestion'
import mikroOrmConfig from "../mikro-orm.config"

const main = (async () => {
const jetstreamConnection = await connectJetstream('nats://localhost:4222');
const jetstreamConnection = await connectJetstream('nats://127.0.0.1:4222');

const consumer = await buildConsumer({
connection: jetstreamConnection,
Expand Down

0 comments on commit 4de07ef

Please sign in to comment.