summary refs log tree commit diff
path: root/synapse/federation/transaction_queue.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Rename and move the classesRichard van der Hoff2019-03-131-801/+0
* Factor per-destination stuff out of TransactionQueueRichard van der Hoff2019-03-131-132/+182
* Move client receipt processing to federation sender worker.Richard van der Hoff2019-03-131-0/+35
* Avoid rebuilding Edu objects in worker mode (#4770)Richard van der Hoff2019-03-041-7/+24
* Add metrics for number of outgoing EDUs, by type (#4695)Richard van der Hoff2019-02-201-4/+18
* Use snder and not event ID domain to check if oursErik Johnston2019-01-291-1/+1
* Don't log stack traces for HTTP error responsesErik Johnston2019-01-081-1/+6
* Refactor request sending to have better excpetions (#4358)Erik Johnston2019-01-081-5/+14
* Add helpers for getting prev and auth events (#4139)Erik Johnston2018-11-061-3/+1
* Various cleanups in the federation client code (#4031)Richard van der Hoff2018-10-161-15/+12
* Fix complete fail to do the right thingRichard van der Hoff2018-09-281-1/+2
* remove spurious federation checks on localhostRichard van der Hoff2018-09-261-31/+6
* Limit the number of PDUs/EDUs per fedreation transactionErik Johnston2018-09-061-0/+12
* Integrate presence from hotfixes (#3694)Amber Brown2018-08-181-0/+4
* more metrics for the federation and appservice sendersRichard van der Hoff2018-08-071-1/+9
* Remove pdu_failures from transactionsTravis Ralston2018-07-301-27/+5
* Run things as background processesRichard van der Hoff2018-07-181-9/+6
* Resource tracking for background processesRichard van der Hoff2018-07-181-5/+7
* run isortAmber Brown2018-07-091-16/+14
* Populate synapse_federation_client_sent_pdu_destinations:count again (#3386)Amber Brown2018-06-211-3/+7
* Remove run_on_reactor (#3395)Amber Brown2018-06-141-4/+0
* Consistently use six's iteritems and wrap lazy keys/values in list() if they'...Amber Brown2018-05-311-2/+4
* fixesAmber Brown2018-05-231-4/+4
* cleanup pep8 errorsAmber Brown2018-05-221-5/+17
* fixesAmber Brown2018-05-221-3/+3
* replacing portionsAmber Brown2018-05-211-28/+19
* Improve exception handling for background processesRichard van der Hoff2018-04-271-0/+2
* Set all metrics at the same timeErik Johnston2018-04-121-6/+6
* Track last processed event received_tsErik Johnston2018-04-111-0/+11
* Track where event stream processing have gotten up toErik Johnston2018-04-111-0/+4
* Use run_in_background insteadErik Johnston2018-04-101-1/+1
* Preserve log contexts correctlyErik Johnston2018-04-101-1/+4
* Log event ID on exceptionErik Johnston2018-04-101-1/+4
* Handle all events in a room correctlyErik Johnston2018-04-091-1/+2
* Send federation events concurrentlyErik Johnston2018-04-091-4/+18
* Handle exceptions in get_hosts_for_room when sending events over federationErik Johnston2018-04-091-11/+16
* Add federation_domain_whitelist option (#2820)Matthew Hodgson2018-01-221-1/+3
* Metrics for events processed in appservice and fed senderRichard van der Hoff2018-01-151-0/+4
* Clear logcontext before starting fed txn queue runnerRichard van der Hoff2017-11-281-2/+8
* Fix up logcontext handling in (federation) TransactionQueueRichard van der Hoff2017-10-061-16/+32
* Remove spurious log linesErik Johnston2017-06-071-1/+0
* Faster cache for get_joined_hostsErik Johnston2017-05-251-0/+2
* Make presence use cached users/hosts in roomErik Johnston2017-05-161-1/+1
* Add cache for get_current_hosts_in_roomErik Johnston2017-05-021-5/+1
* Merge pull request #2115 from matrix-org/erikj/dedupe_federation_replErik Johnston2017-04-121-10/+76
|\
| * CommentErik Johnston2017-04-121-2/+1
| * Reuse get_interested_partiesErik Johnston2017-04-121-3/+3
| * CommentErik Johnston2017-04-111-0/+2
| * Move get_interested_remotes back to presence handlerErik Johnston2017-04-111-35/+6
| * CommentsErik Johnston2017-04-111-1/+14
| * Reduce federation presence replication trafficErik Johnston2017-04-101-9/+90
* | Add a counter metric for successfully-sent transactionsPaul "LeoNerd" Evans2017-04-111-0/+3
|/
* Bail early if remote wouldn't be retried (#2064)Erik Johnston2017-03-291-2/+8
* Batch sending of device list pokesErik Johnston2017-03-241-0/+1
* push federation retry limiter down to matrixfederationclientRichard van der Hoff2017-03-231-121/+95
* Fix assertion to stop transaction queue getting wedgedRichard van der Hoff2017-03-151-0/+5
* Fix a race in transaction queueRichard van der Hoff2017-02-201-9/+21
* Correctly raise exceptions for ratelimitng. Ratelimit on 401Erik Johnston2017-02-011-1/+1
* Better handle 404 response for federation /send/Erik Johnston2017-01-311-0/+1
* Fix up sending of m.device_list_update edusErik Johnston2017-01-251-60/+61
* Add basic implementation of local device list changesErik Johnston2017-01-251-3/+21
* Lower the not retrying host log line to debugErik Johnston2017-01-171-1/+1
* Only send events that originate on this server.Mark Haines2017-01-051-0/+12
* Get the destinations from the state from before the eventMark Haines2017-01-041-8/+9
* Send ALL membership events to the server that was affected.Mark Haines2017-01-041-3/+5
* Correctly handle 500's and 429 on federationErik Johnston2016-11-241-0/+7
* CommentsErik Johnston2016-11-211-0/+3
* Remove explicit calls to send_pduErik Johnston2016-11-211-4/+9
* Fix testsErik Johnston2016-11-211-0/+3
* Store federation stream positions in the databaseErik Johnston2016-11-211-4/+17
* Handle sending events and device messages over federationErik Johnston2016-11-171-0/+32
* Use new federation_sender DIErik Johnston2016-11-161-0/+10
* Add transaction queue and transport layer to DIErik Johnston2016-11-161-2/+2
* Move logic into transaction_queueErik Johnston2016-11-161-3/+16
* Rename transaction queue functions to send_*Erik Johnston2016-11-161-5/+5
* Fix incorrect attribute nameErik Johnston2016-09-091-1/+1
* CommentErik Johnston2016-09-091-0/+1
* Add edu.type as part of key. Remove debug loggingErik Johnston2016-09-091-2/+3
* Clobber EDUs in send queueErik Johnston2016-09-091-3/+45
* Drop replication log levelsErik Johnston2016-09-091-1/+0
* Check if destination is ready for retry earlierErik Johnston2016-09-091-15/+16
* Fix tightloop on sending transactionErik Johnston2016-09-091-122/+134
* Correctly guard against multiple concurrent transactionsErik Johnston2016-09-091-38/+41
* Update last_device_stream_id_by_dest if there is nothing to sendErik Johnston2016-09-091-0/+1
* Add a new method to enqueue the device messages rather than sending a dummy EDUMark Haines2016-09-071-0/+11
* Move the check for federated device_messages.Mark Haines2016-09-071-11/+15
* Add stream change caches for device messagesMark Haines2016-09-071-1/+4
* Send device messages over federationMark Haines2016-09-061-7/+36
* PEP8Erik Johnston2016-08-101-1/+3
* Clean up TransactionQueueErik Johnston2016-08-101-215/+160
* Measure federation send transaction resourcesErik Johnston2016-08-101-5/+7
* Run transaction queue on reactorErik Johnston2016-05-091-0/+3
* Fix up logcontextsErik Johnston2016-02-081-3/+0
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Don't rearrange transaction_queueErik Johnston2015-11-031-12/+11
* Fix broken cache for getting retry times. This meant we retried remote destin...Erik Johnston2015-11-031-23/+24
* Add txn_id to some log linesErik Johnston2015-05-221-6/+11
* Log less lines at INFO level, but include more helpful informationErik Johnston2015-05-221-6/+10
* Don't log enqueue_Erik Johnston2015-05-011-1/+0
* Appease pep8Paul "LeoNerd" Evans2015-03-121-3/+6
* Neater metrics from TransactionQueuePaul "LeoNerd" Evans2015-03-121-9/+11
* Use _ instead of . as a metric namespacing separator, for PrometheusPaul "LeoNerd" Evans2015-03-121-2/+2
* Rename Metrics' "keys" to "labels"Paul "LeoNerd" Evans2015-03-121-2/+2
* Put vector gauges on transaction queue pending PDU and EDU dictsPaul "LeoNerd" Evans2015-03-121-2/+14
* Fix bug in logging.Erik Johnston2015-03-101-5/+5
* Fix bug in logging.Erik Johnston2015-03-101-1/+1
* Must update pending_transactions map before yield'ingErik Johnston2015-02-261-2/+2
* Implement and use new batched get missing pduErik Johnston2015-02-231-1/+1
* Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.7.1Erik Johnston2015-02-181-3/+27
|\
| * Restrict the destinations that synapse can talk toMark Haines2015-02-181-3/+27
* | Add errback to all deferreds in transaction_queueErik Johnston2015-02-181-14/+23
* | Discard destination 'localhost'Erik Johnston2015-02-181-2/+2
* | Don't send failure to selfErik Johnston2015-02-181-0/+3
|/
* Fix pyflakesErik Johnston2015-02-181-1/+0
* Merge branch 'keyclient_retry_scheme' of github.com:matrix-org/synapse into d...Erik Johnston2015-02-181-92/+63
|\
| * Try to only back off if we think we failed to connect to the remoteErik Johnston2015-02-171-33/+33
| * Add per server retry limiting.Erik Johnston2015-02-171-95/+66
* | Format the response of transaction request in a nicer wayErik Johnston2015-02-171-2/+20
|/
* Use consumeErrors=True on all DeferredLists.Erik Johnston2015-02-171-1/+1
* Log all the exits from _attempt_new_transactionErik Johnston2015-02-101-2/+7
* Apply sanity to the transport client interface. Convert 'make_join' and 'send...Erik Johnston2015-02-041-5/+18
* Split up replication_layer module into client, server and transaction queueErik Johnston2015-01-261-3/+6
* Split out TransactionQueue from replication layerErik Johnston2015-01-221-0/+314