Browse Source

fix

pull/662/head
Jeff Becker 8 years ago
parent
commit
43c3bdf7c5
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
  1. 2
      Datagram.h

2
Datagram.h

@ -24,7 +24,7 @@ namespace datagram @@ -24,7 +24,7 @@ namespace datagram
// milliseconds for how long we try sticking to a dead routing path before trying to switch
const uint64_t DATAGRAM_SESSION_PATH_TIMEOUT = 5000;
// milliseconds interval a routing path is used before switching
const uint64_t DATAGRAM_SESSION_PATH_SWITCH_INTERVAL = 5 * 60 * 1000;
const uint64_t DATAGRAM_SESSION_PATH_SWITCH_INTERVAL = 20 * 60 * 1000;
// milliseconds before lease expire should we try switching leases
const uint64_t DATAGRAM_SESSION_LEASE_HANDOVER_WINDOW = 10 * 1000;
// milliseconds fudge factor for leases handover

Loading…
Cancel
Save