From 8f28239dd8b0c79ffcb89d088f8d073b8e9644fd Mon Sep 17 00:00:00 2001 From: Christopher Young Date: Sat, 27 Feb 2016 00:55:14 -0500 Subject: [PATCH] Typo fix. Addresses #267. --- main/network.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/network.go b/main/network.go index 7f6659fc..f68d7647 100644 --- a/main/network.go +++ b/main/network.go @@ -296,7 +296,7 @@ func messageQueueSender() { averageSendableQueueSize = averageSendableQueueSize / float64(len(outSockets)) // It's a total, not an average, up until this point. pd = math.Max(float64(1.0/750.0), float64(1.0/(4.0*averageSendableQueueSize))) // Say 250ms is enough to get through the whole queue. } else { - pd = float64(1.0 / 0.1) // 100ms. + pd = float64(0.1) // 100ms. } queueTimer.Stop() queueTimer = time.NewTicker(time.Duration(pd*1000000000.0) * time.Nanosecond)