interval is configurable so do not say it is not
authorSimon J Mudd <sjmudd@pobox.com>
Fri, 14 Nov 2014 21:30:41 +0000 (22:30 +0100)
committerSimon J Mudd <sjmudd@pobox.com>
Fri, 14 Nov 2014 21:30:41 +0000 (22:30 +0100)
main.go

diff --git a/main.go b/main.go
index 40e39ea..b7a6692 100644 (file)
--- a/main.go
+++ b/main.go
@@ -88,7 +88,7 @@ func main() {
        lib.Logger.Println("Starting " + lib.MyName())
        var state state.State
 
-       interval := time.Second * 1 // for the wait, should be configurable
+       interval := time.Second
        sigChan := make(chan os.Signal, 1)
        done := make(chan struct{})
        defer close(done)