* move "controlLock" mutex to "config"

This commit is contained in:
Simon Zolin
2019-07-09 18:25:26 +03:00
parent d51f43e27a
commit 2682adca39
5 changed files with 9 additions and 11 deletions

View File

@@ -11,7 +11,6 @@ import (
"sort"
"strconv"
"strings"
"sync"
"time"
"github.com/AdguardTeam/AdGuardHome/dnsforward"
@@ -40,8 +39,6 @@ var client = &http.Client{
Transport: transport,
}
var controlLock sync.Mutex
// ----------------
// helper functions
// ----------------