Hardcode latency for now

This commit is contained in:
Oskar Thoren
2019-01-10 23:30:49 -05:00
parent 03f5895869
commit 38fc88e203

View File

@@ -56,7 +56,9 @@ class NetworkSimulator():
# XXX: This should be normal distribution or Poisson
def latency_uniform_random(self):
latency = random.randint(1,3)
# XXX: Hardcode for now, easier analyze
latency = 1
#latency = random.randint(1,3)
return latency
# NOTE: Direct message, no broadcast etc