From 4e2a543f6e8d926d2c1b3afc8c19271cf35cfc3c Mon Sep 17 00:00:00 2001 From: Travis Date: Tue, 1 Jan 2013 19:54:09 -0800 Subject: [PATCH] Starts up new tasks of nothing running --- src/router/router.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/router/router.go b/src/router/router.go index 4b4e54d3b..a9eb6fba4 100644 --- a/src/router/router.go +++ b/src/router/router.go @@ -92,6 +92,7 @@ func ProxyFunc(w http.ResponseWriter, req *http.Request) { fmt.Println("err type:", etype) w.WriteHeader(http.StatusInternalServerError) if etype == reflect.TypeOf(net.OpError{}) { // couldn't figure out a better way to do this + fmt.Println("It's a network error, so we're going to start new task.") // start new worker payload := map[string]interface{}{ "token": route.Token,