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

ability to run the dummy-events-for-extremities job manually #8128

Open
richvdh opened this issue Aug 19, 2020 · 1 comment
Open

ability to run the dummy-events-for-extremities job manually #8128

richvdh opened this issue Aug 19, 2020 · 1 comment
Labels
A-Admin-API T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.

Comments

@richvdh
Copy link
Member

richvdh commented Aug 19, 2020

sometimes it would be useful to be able to manually (via admin api or manhole) run the dummy-events-for-extremities job for a given set of rooms, or for a lower than normal extremity count threshold.

@dklimpel
Copy link
Contributor

Do you mean this job?
This function has no parameter for rooms at the moment.

async def _send_dummy_events_to_fill_extremities(self) -> None:
"""Background task to send dummy events into rooms that have a large
number of extremities
"""

lambda: run_as_background_process(
"send_dummy_events_to_fill_extremities",
self._send_dummy_events_to_fill_extremities,
),
5 * 60 * 1000,

@DMRobertson DMRobertson added T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. and removed z-p2 (Deprecated Label) labels Nov 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Admin-API T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.
Projects
None yet
Development

No branches or pull requests

4 participants