File transfer example

This commit is contained in:
Mark Qvist 2018-04-25 23:05:30 +02:00
parent 8aa2f8613a
commit aa9d0876d7
3 changed files with 4 additions and 2 deletions

View file

@ -29,7 +29,7 @@ class Link:
# TODO: This should not be hardcoded,
# but calculated from something like
# first-hop RTT latency and distance
DEFAULT_TIMEOUT = 5
DEFAULT_TIMEOUT = 10.0
TIMEOUT_FACTOR = 5
KEEPALIVE = 120