From 146dc92acce3f8a656d4c7a14613d9f72cac4214 Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Fri, 14 Feb 2014 11:48:19 -0600 Subject: [PATCH] Remove delay --- commands/pilosa-nexter/nexter.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/commands/pilosa-nexter/nexter.go b/commands/pilosa-nexter/nexter.go index 22e360756..f2821c40e 100644 --- a/commands/pilosa-nexter/nexter.go +++ b/commands/pilosa-nexter/nexter.go @@ -8,7 +8,6 @@ import ( "net/http" "strconv" "strings" - "time" "github.com/coreos/go-etcd/etcd" ) @@ -84,8 +83,6 @@ func (self *Nexter) countloop(ch chan uint64, id int, client *etcd.Client) { } _, err = client.CompareAndSwap(path, strconv.FormatUint(end, 10), 0, strconv.FormatUint(start, 10), 0) if err != nil { - log.Println("Error with CompareAndSet! Trying again in 1 second...") - time.Sleep(time.Second) continue } for c := start; c < end; c += 1 {