From 31fddde23b95114965420ff09321899d54f1da2e Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Fri, 6 May 2016 14:59:35 -0700 Subject: [PATCH] Remove LimitListener. --- redoctober.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/redoctober.go b/redoctober.go index 2a08f6c..91dc022 100644 --- a/redoctober.go +++ b/redoctober.go @@ -20,8 +20,6 @@ import ( "strings" "time" - "golang.org/x/net/netutil" - "github.com/cloudflare/redoctober/core" "github.com/coreos/go-systemd/activation" ) @@ -176,11 +174,6 @@ func NewServer(staticPath, addr, caPath string, certPaths, keyPaths []string, us TLSNextProto: map[string]func(*http.Server, *tls.Conn, http.Handler){}, } - // The core package is not safe to be shared across goroutines so - // this supervisor goroutine reads requests from the process - // channel and dispatches them to core for processes. - lstnr = netutil.LimitListener(lstnr, 1) - return &srv, lstnr, nil }