Skip to content

Commit d3e6070

Browse files
committed
Fixed keep alive interval
1 parent 382d776 commit d3e6070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodes/node_balancer/cmd/nodebalancer/configs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var (
3434
NB_MAX_COUNTER_NUMBER = uint64(10000000)
3535

3636
// Client configuration
37-
NB_CLIENT_NODE_KEEP_ALIVE = int64(1) // How long to store node in hot list for client in seconds
37+
NB_CLIENT_NODE_KEEP_ALIVE = int64(5) // How long to store node in hot list for client in seconds
3838
NB_HIGHEST_BLOCK_SHIFT = uint64(50) // Allowed shift to prefer node with most highest block
3939

4040
NB_ACCESS_ID_HEADER = os.Getenv("NB_ACCESS_ID_HEADER")

0 commit comments

Comments
 (0)