[management] add duration logs to Sync (#3203)

This commit is contained in:
Pascal Fischer
2025-01-17 12:26:44 +01:00
committed by GitHub
parent c01874e9ce
commit 3e836db1d1
3 changed files with 19 additions and 1 deletions

View File

@ -208,6 +208,8 @@ func (s *GRPCServer) Sync(req *proto.EncryptedMessage, srv proto.ManagementServi
unlock()
unlock = nil
log.WithContext(ctx).Debugf("Sync: took %v", time.Since(reqStart))
return s.handleUpdates(ctx, accountID, peerKey, peer, updates, srv)
}