Repository navigation
Document that the new get single delayed event endpoint is workerisable - #20210
Merged
Merged
Conversation
This was referenced Sep 10, 2026
devonh
approved these changes
Sep 10, 2026
devonh
left a comment
Member
There was a problem hiding this comment.
I also see no reason why this endpoint cannot be workerisable.
The endpoint simply looks up a delayed event for a user directly from the DB. That functionality has no external dependency and should be a prime candidate for tossing on any worker.
2 of 3 tasks
reivilibre
pushed a commit
that referenced
this pull request
Sep 24, 2026
Previously, the worker endpoint pattern included only the multi-item lookup and `/restart`. Adjust the pattern so that it includes the per-`delay_id` lookup endpoint as well. Also adjust the worker documentation to use this same endpoint pattern. Follow-up of #20210
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Checklist
Missed off of https://github.com/element-hq/synapse/pull/19926/changes IMO. My reading of https://github.com/element-hq/synapse/blob/v1.161.0rc1/synapse/rest/client/delayed_events.py is that the new endpoint (pattern
r"/org\.matrix\.msc4140/delayed_events/(?P<delay_id>[^/]+)$"is workerisable) given howregister_servletsflows. However givenUpdateDelayedEventServletcovers the same pattern but forPOSTrequests, this should go in theGETonly part of the documentation.EventStoretoEventWorkerStore.".code blocks.