mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-25 13:11:37 +00:00
Stop CPU burn in PerformMarkAsStaleIfNeeded
This commit is contained in:
parent
c1e16fd41e
commit
fec3ee384b
@ -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 New Issue
Block a user