Skip to content

Commit

Permalink
Add extra second to heartbeat interval to avoid glitches (#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
arbulu89 authored Mar 7, 2023
1 parent 70695bc commit 0b3e287
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ config :trento, :pow,

config :trento, :api_key_authentication, enabled: true

config :trento, Trento.Heartbeats, interval: :timer.seconds(5)
# Agent heartbeat interval. Adding one extra second to the agent 5s interval to avoid glitches
config :trento, Trento.Heartbeats, interval: :timer.seconds(6)

config :trento, Trento.Scheduler,
jobs: [
Expand Down

0 comments on commit 0b3e287

Please sign in to comment.