Skip to content

Commit 57abe5c

Browse files
committed
Config added for HeartBtIntOverride
1 parent fc8e0d5 commit 57abe5c

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

config/configuration.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ const (
4747
LogoutTimeout string = "LogoutTimeout"
4848
LogonTimeout string = "LogonTimeout"
4949
HeartBtInt string = "HeartBtInt"
50+
HeartBtIntOverride string = "HeartBtIntOverride"
5051
FileLogPath string = "FileLogPath"
5152
FileStorePath string = "FileStorePath"
5253
SQLStoreDriver string = "SQLStoreDriver"

config/doc.go

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,15 @@ Defaults to 10
244244
245245
HeartBtInt
246246
247-
Heartbeat interval in seconds. Only used for initiators. Value must be positive integer.
247+
Heartbeat interval in seconds. Only used for initiators (unless HeartBtIntOverride is Y). Value must be positive integer.
248+
249+
HeartBtIntOverride
250+
251+
If set to Y, will use the HeartBtInt interval rather than what the initiator dictates. Only used for acceptors. Valid Values:
252+
Y
253+
N
254+
255+
Defaults to N.
248256
249257
SocketConnectPort
250258

0 commit comments

Comments
 (0)