From 305432e58a1cfd8fe13f4cb7e7ef816a03d2ff30 Mon Sep 17 00:00:00 2001 From: Farhan Khan Date: Fri, 23 Oct 2020 02:40:22 +0000 Subject: [PATCH] added missing 'go' directive --- poll/engine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poll/engine.go b/poll/engine.go index 77dd5bd..79d0dd9 100644 --- a/poll/engine.go +++ b/poll/engine.go @@ -243,7 +243,7 @@ func main() { runninginstances[i].min_id = p.min_id } } - DeferRun(p, &runninginstances, reportInstanceChan, reportPostChan, pollMessageChan) + go DeferRun(p, &runninginstances, reportInstanceChan, reportPostChan, pollMessageChan) case v := <-reportPostChan: // New Post go writePost( v) case w := <-reportInstanceChan: // Start a new instance