build, cmd, lib: Minimum supported compiler version is Go 1.5

This commit is contained in:
Jakob Borg committed 2016-08-15 08:37:32 +02:00
1 parent 42849af5a8
commit cf5febad47
10 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -212,7 +212,7 @@ func main() {
func monitorLimits() {
limitCheckTimer = time.NewTimer(time.Minute)
for _ = range limitCheckTimer.C {
for range limitCheckTimer.C {
if atomic.LoadInt64(&numConnections)+atomic.LoadInt64(&numProxies) > descriptorLimit {
atomic.StoreInt32(&overLimit, 1)
log.Println("Gone past our connection limits. Starting to refuse new/drop idle connections.")