mirror of
https://github.com/0xERR0R/blocky.git
synced 2024-09-12 03:42:46 +02:00
more flaky fixes
This commit is contained in:
parent
3dc6cb33f9
commit
fdb09bb902
1 changed files with 3 additions and 0 deletions
|
@ -467,6 +467,9 @@ func (r *BlockingResolver) isGroupDisabled(group string) bool {
|
|||
|
||||
// returns groups which should be checked for client's request
|
||||
func (r *BlockingResolver) groupsToCheckForClient(request *model.Request) []string {
|
||||
r.status.lock.RLock()
|
||||
defer r.status.lock.RUnlock()
|
||||
|
||||
var groups []string
|
||||
// try client names
|
||||
for _, cName := range request.ClientNames {
|
||||
|
|
Loading…
Reference in a new issue