Implement per-backend session limit for clusters.

This commit is contained in:
Joachim Bauch
2022-07-13 11:52:20 +02:00
parent 12a8fa98d0
commit deaa17acc5
9 changed files with 287 additions and 105 deletions
+4 -3
View File
@@ -163,9 +163,10 @@ func (s *backendStorageEtcd) EtcdKeyUpdated(client *EtcdClient, key string, data
}
backend := &Backend{
id: key,
url: info.Url,
secret: []byte(info.Secret),
id: key,
url: info.Url,
parsedUrl: info.parsedUrl,
secret: []byte(info.Secret),
allowHttp: info.parsedUrl.Scheme == "http",