Add syncing failed delayed events to alternatives

Signed-off-by: Tulir Asokan <tulir@maunium.net>
toger5/expiring-events-keep-alive
Tulir Asokan 2 months ago
parent e532e93183
commit 0d7821aa3a

@ -44,6 +44,7 @@ time and then distributing it as normal via federation.
- [Don't provide a `send` action](#dont-provide-a-send-action)
- [Use `DELETE` HTTP method for `cancel` action](#use-delete-http-method-for-cancel-action)
- [[Ab]use typing notifications](#abuse-typing-notifications)
- [Syncing failed delayed events](#syncing-failed-delayed-events)
- [Security considerations](#security-considerations)
- [Unstable prefix](#unstable-prefix)
- [Dependencies](#dependencies)
@ -726,6 +727,12 @@ Some alternatives for the `running_since` field on the `GET` response are:
- `delaying_since`
- `last_restart` - but this feels less clear than `running_since` for a delayed event that hasn't been restarted
### Syncing failed delayed events
Currently, clients have to fetch the delayed event info after the timeout to find an error in case the event failed.
We could instead define a new method to push failed delayed events down `/sync` to the sender. However, this could be
complicated and it's not clear whether clients actually need immediate notifications about failed delayed events.
## Security considerations
All new endpoints are authenticated.

Loading…
Cancel
Save