diff options
author | Erik Johnston <erik@matrix.org> | 2014-12-10 10:35:57 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-12-10 10:35:57 +0000 |
commit | 6497caee7c65cffd13508eb55313a011bc8b251e (patch) | |
tree | 88448566493c7bb6bef3d07e816b2597ffb46ba5 /synapse/storage/schema/transactions.sql | |
parent | Ignore pycharm dir (diff) | |
parent | turn back on per-request transaction retries, so that every time we try to hi... (diff) | |
download | synapse-6497caee7c65cffd13508eb55313a011bc8b251e.tar.xz |
Merge pull request #22 from matrix-org/federation_retries
Federation retries
Diffstat (limited to 'synapse/storage/schema/transactions.sql')
-rw-r--r-- | synapse/storage/schema/transactions.sql | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/storage/schema/transactions.sql b/synapse/storage/schema/transactions.sql index 88e3e4e04d..de461bfa15 100644 --- a/synapse/storage/schema/transactions.sql +++ b/synapse/storage/schema/transactions.sql @@ -59,3 +59,9 @@ CREATE INDEX IF NOT EXISTS transaction_id_to_pdu_tx ON transaction_id_to_pdu(tra CREATE INDEX IF NOT EXISTS transaction_id_to_pdu_dest ON transaction_id_to_pdu(destination); CREATE INDEX IF NOT EXISTS transaction_id_to_pdu_index ON transaction_id_to_pdu(transaction_id, destination); +-- To track destination health +CREATE TABLE IF NOT EXISTS destinations( + destination TEXT PRIMARY KEY, + retry_last_ts INTEGER, + retry_interval INTEGER +); |