mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-29 08:18:27 +00:00
Stop CPU burn in PerformMarkAsStaleIfNeeded
This commit is contained in:
parent
c1e16fd41e
commit
fec3ee384b
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ func (a *KeyInternalAPI) PerformMarkAsStaleIfNeeded(ctx context.Context, req *ap
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if len(knownDevices) == 0 {
|
if len(knownDevices) == 0 {
|
||||||
return fmt.Errorf("unknown user %s", req.UserID)
|
return nil // fmt.Errorf("unknown user %s", req.UserID)
|
||||||
}
|
}
|
||||||
|
|
||||||
for i := range knownDevices {
|
for i := range knownDevices {
|
||||||
|
|
Loading…
Reference in a new issue