Skip to content

Commit

Permalink
update heartbeat to 30 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
wguanicedew committed Sep 14, 2023
1 parent a32a418 commit 163793b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/lib/idds/agents/common/plugins/messaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def connect_to_messaging_brokers(self, sender=True):
for broker, port in broker_addresses:
conn = stomp.Connection12(host_and_ports=[(broker, port)],
keepalive=True,
heartbeats=(60000, 0), # one minute
heartbeats=(30000, 0), # one minute
timeout=timeout)
conns.append(conn)
channel_conns[name] = conns
Expand Down

0 comments on commit 163793b

Please sign in to comment.