Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Move background tasks out of the main process #8500

Closed
clokep opened this issue Oct 8, 2020 · 4 comments
Closed

Move background tasks out of the main process #8500

clokep opened this issue Oct 8, 2020 · 4 comments
Assignees

Comments

@clokep
Copy link
Member

clokep commented Oct 8, 2020

Create a new worker type which runs background tasks, many of which are periodic. See #7670 for some rationale.

@clokep
Copy link
Member Author

clokep commented Oct 8, 2020

Related to #7593.

@clokep
Copy link
Member Author

clokep commented Oct 13, 2020

Things left to do:

  • Move this to the background worker.
  • Check if _maybe_retry_device_resync can be run on any worker.
  • Enable this on matrix.org.

@clokep
Copy link
Member Author

clokep commented Oct 14, 2020

Check if _maybe_retry_device_resync can be run on any worker.

The conclusion on this was that it needs to run on whatever is the device list writer, which is currently the main process.

@clokep
Copy link
Member Author

clokep commented Oct 16, 2020

This is deployed and seems to be working. I think this is done! 🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant