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

A way for ASes to poke synapse to retry the timeout queue (SYN-774) #1601

Closed
matrixbot opened this issue Sep 22, 2016 · 3 comments
Closed

A way for ASes to poke synapse to retry the timeout queue (SYN-774) #1601

matrixbot opened this issue Sep 22, 2016 · 3 comments
Labels
A-Application-Service Related to AS support

Comments

@matrixbot
Copy link
Member

If an AS is down for a while, synapse rightly starts backing up the queue, retrying less often. But you can get it into a state where the retry timeout is so slow that it can take many minutes after restarting your AS before messages start flowing again.

It would be nice for synapse to have a button that ASes can poke to say "Hi, I started up now", and synapse can then try flushing the queue again early.

(I'll have a go at writing this now)

(Imported from https://matrix.org/jira/browse/SYN-774)

(Reported by @leonerd)

@matrixbot
Copy link
Member Author

Jira watchers: @leonerd

@matrixbot
Copy link
Member Author

On further thought, it seems that any entirely nontrivial bridge will probably start talking to synapse as soon as it starts. Current examples are that the IRC bridge performs a full /initialSync and that slack and gitter bridges request the state events out of their currently-mapped rooms.

It may therefore be sufficient that synapse just bumps ASes up the retry queue if it sees inbound requests from the AS's auth token.

-- @leonerd

@matrixbot matrixbot changed the title A way for ASes to poke synapse to retry the timeout queue (SYN-774) A way for ASes to poke synapse to retry the timeout queue (https://github.com/matrix-org/synapse/issues/1601) Nov 7, 2016
@matrixbot matrixbot changed the title A way for ASes to poke synapse to retry the timeout queue (https://github.com/matrix-org/synapse/issues/1601) A way for ASes to poke synapse to retry the timeout queue (SYN-774) Nov 7, 2016
@MadLittleMods MadLittleMods added the A-Application-Service Related to AS support label Dec 23, 2022
@MadLittleMods
Copy link
Contributor

Closing in favor of #14240

@MadLittleMods MadLittleMods closed this as not planned Won't fix, can't repro, duplicate, stale Dec 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Application-Service Related to AS support
Projects
None yet
Development

No branches or pull requests

2 participants