mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-02-21 02:14:28 -06:00
More logging
This commit is contained in:
parent
d0ca183f49
commit
3571892fcd
|
@ -136,8 +136,12 @@ func (a *KeyInternalAPI) claimRemoteKeys(
|
||||||
util.GetLogger(ctx).WithField("num_servers", len(domainToDeviceKeys)).Info("Claiming remote keys from servers")
|
util.GetLogger(ctx).WithField("num_servers", len(domainToDeviceKeys)).Info("Claiming remote keys from servers")
|
||||||
wg.Add(len(domainToDeviceKeys))
|
wg.Add(len(domainToDeviceKeys))
|
||||||
|
|
||||||
|
util.GetLogger(ctx).Infof("Domain to device keys: %+v", domainToDeviceKeys)
|
||||||
|
|
||||||
for d, k := range domainToDeviceKeys {
|
for d, k := range domainToDeviceKeys {
|
||||||
go func(domain string, keysToClaim map[string]map[string]string) {
|
go func(domain string, keysToClaim map[string]map[string]string) {
|
||||||
|
util.GetLogger(ctx).Infof("Keys to claim from %s: %+v", domain, keysToClaim)
|
||||||
|
|
||||||
fedCtx, cancel := context.WithTimeout(ctx, timeout)
|
fedCtx, cancel := context.WithTimeout(ctx, timeout)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
defer wg.Done()
|
defer wg.Done()
|
||||||
|
|
Loading…
Reference in a new issue