Skip to content

Commit

Permalink
Change node main() sleep interval to 100ms
Browse files Browse the repository at this point in the history
  • Loading branch information
kthomas committed Mar 5, 2024
1 parent c3f8502 commit 5497a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
const defaultNatsStoreDir = "pnats"
const defaultPidFilepath = "/var/run/nex.pid"

const runloopSleepInterval = 250 * time.Millisecond
const runloopSleepInterval = 100 * time.Millisecond
const runloopTickInterval = 2500 * time.Millisecond

// Nex node process
Expand Down

0 comments on commit 5497a98

Please sign in to comment.