From c97f02ff4c077096e0ca4bcfd214f3c2aa6c4066 Mon Sep 17 00:00:00 2001 From: Joseph Lawson Date: Wed, 23 Apr 2014 12:22:47 -0400 Subject: [PATCH] updated stat printer --- gor_stat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gor_stat.go b/gor_stat.go index c50b620..92b5d2d 100644 --- a/gor_stat.go +++ b/gor_stat.go @@ -49,7 +49,7 @@ func (s *GorStat) String() string { func (s *GorStat) reportStats() { for { log.Println(s) - time.Sleep(rate * time.Second.Nanoseconds()) + time.Sleep(rate * time.Second) } }