mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-09 22:42:58 +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
|
||||
}
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user