From: Simon J Mudd Date: Fri, 14 Nov 2014 21:30:41 +0000 (+0100) Subject: interval is configurable so do not say it is not X-Git-Url: http://git.iain.cx/?p=pstop.git;a=commitdiff_plain;h=4fced0ba29c6711135bebb24f8a55c2ab6f60dbf interval is configurable so do not say it is not --- diff --git a/main.go b/main.go index 40e39ea..b7a6692 100644 --- 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)