6982320572 
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary extra function call layer  
							
							
							
						 
						
							2018-10-08 14:06:19 +01:00  
				
					
						
							
							
								 
						
							
							
								8a1817f0d2 
								
							
								 
							
						 
						
							
							
								
								Use errback pattern and catch async failures  
							
							
							
						 
						
							2018-10-08 13:29:47 +01:00  
				
					
						
							
							
								 
						
							
							
								53bca4690b 
								
							
								 
							
						 
						
							
							
								
								more metrics for the federation and appservice senders  
							
							
							
						 
						
							2018-08-07 19:09:48 +01:00  
				
					
						
							
							
								 
						
							
							
								cf2d15c6a9 
								
							
								 
							
						 
						
							
							
								
								another couple of logcontext leaks  
							
							
							
						 
						
							2018-07-24 00:57:48 +01:00  
				
					
						
							
							
								 
						
							
							
								49af402019 
								
							
								 
							
						 
						
							
							
								
								run isort  
							
							
							
						 
						
							2018-07-09 16:09:20 +10:00  
				
					
						
							
							
								 
						
							
							
								c936a52a9e 
								
									
								
							
								 
							
						 
						
							
							
								
								Consistently use six's iteritems and wrap lazy keys/values in list() if they're not meant to be lazy ( #3307 )  
							
							
							
						 
						
							2018-05-31 19:03:47 +10:00  
				
					
						
							
							
								 
						
							
							
								53cc2cde1f 
								
							
								 
							
						 
						
							
							
								
								cleanup  
							
							
							
						 
						
							2018-05-22 17:32:57 -05:00  
				
					
						
							
							
								 
						
							
							
								df9f72d9e5 
								
							
								 
							
						 
						
							
							
								
								replacing portions  
							
							
							
						 
						
							2018-05-21 19:47:37 -05:00  
				
					
						
							
							
								 
						
							
							
								63ae5cbf34 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3143  from matrix-org/rav/remove_redundant_preserve_fn  
							
							... 
							
							
							
							Remove redundant call to preserve_fn 
							
						 
						
							2018-04-30 10:23:59 +01:00  
				
					
						
							
							
								 
						
							
							
								3b0e431c82 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3150  from NotAFile/py3-listcomp-yield  
							
							... 
							
							
							
							Don't yield in list comprehensions 
							
						 
						
							2018-04-30 01:11:41 +01:00  
				
					
						
							
							
								 
						
							
							
								af3cc50511 
								
							
								 
							
						 
						
							
							
								
								Remove redundant call to preserve_fn  
							
							... 
							
							
							
							submit_event_for_as doesn't return a deferred anyway, so this is pointless. 
							
						 
						
							2018-04-30 00:48:36 +01:00  
				
					
						
							
							
								 
						
							
							
								cdb4647a80 
								
							
								 
							
						 
						
							
							
								
								Don't yield in list comprehensions  
							
							... 
							
							
							
							I've tried to grep for more of this with no success.
Signed-off-by: Adrian Tschira <nota@notafile.com> 
							
						 
						
							2018-04-28 13:36:30 +02:00  
				
					
						
							
							
								 
						
							
							
								2a13af23bc 
								
							
								 
							
						 
						
							
							
								
								Use run_in_background in preference to preserve_fn  
							
							... 
							
							
							
							While I was going through uses of preserve_fn for other PRs, I converted places
which only use the wrapped function once to use run_in_background, to avoid
creating the function object. 
							
						 
						
							2018-04-27 12:55:51 +01:00  
				
					
						
							
							
								 
						
							
							
								19ceb4851f 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into erikj/processed_event_lag  
							
							
							
						 
						
							2018-04-12 11:36:07 +01:00  
				
					
						
							
							
								 
						
							
							
								f67e906e18 
								
							
								 
							
						 
						
							
							
								
								Set all metrics at the same time  
							
							
							
						 
						
							2018-04-12 11:18:19 +01:00  
				
					
						
							
							
								 
						
							
							
								4dae4a97ed 
								
							
								 
							
						 
						
							
							
								
								Track last processed event received_ts  
							
							
							
						 
						
							2018-04-11 14:27:09 +01:00  
				
					
						
							
							
								 
						
							
							
								92e34615c5 
								
							
								 
							
						 
						
							
							
								
								Track where event stream processing have gotten up to  
							
							
							
						 
						
							2018-04-11 12:13:40 +01:00  
				
					
						
							
							
								 
						
							
							
								121591568b 
								
							
								 
							
						 
						
							
							
								
								Send events to ASes concurrently  
							
							
							
						 
						
							2018-04-11 09:56:00 +01:00  
				
					
						
							
							
								 
						
							
							
								a027c2af8d 
								
							
								 
							
						 
						
							
							
								
								Metrics for events processed in appservice and fed sender  
							
							... 
							
							
							
							More metrics I wished I'd had 
							
						 
						
							2018-01-15 18:23:24 +00:00  
				
					
						
							
							
								 
						
							
							
								7e6fa29cb5 
								
							
								 
							
						 
						
							
							
								
								Remove preserve_context_over_{fn, deferred}  
							
							... 
							
							
							
							Both of these functions ae known to leak logcontexts. Replace the remaining
calls to them and kill them off. 
							
						 
						
							2017-11-14 11:22:42 +00:00  
				
					
						
							
							
								 
						
							
							
								d46386d57e 
								
							
								 
							
						 
						
							
							
								
								Remove useless assignment in notify_interested_services  
							
							
							
						 
						
							2017-11-07 22:23:22 +03:00  
				
					
						
							
							
								 
						
							
							
								45fbe4ff67 
								
							
								 
							
						 
						
							
							
								
								Fix appservices being backlogged and not receiving new events due to a bug in notify_interested_services  
							
							
							
						 
						
							2017-11-02 22:49:43 +03:00  
				
					
						
							
							
								 
						
							
							
								9bfc617791 
								
							
								 
							
						 
						
							
							
								
								storage/appservice: make appservice methods only relying on the cache synchronous  
							
							
							
						 
						
							2016-10-06 15:24:59 +02:00  
				
					
						
							
							
								 
						
							
							
								ed44c475d8 
								
							
								 
							
						 
						
							
							
								
								Reject malformed 3PE query metadata results earlier in AS API handling code  
							
							
							
						 
						
							2016-09-09 15:07:04 +01:00  
				
					
						
							
							
								 
						
							
							
								f25d74f69c 
								
							
								 
							
						 
						
							
							
								
								Minor fixes from PR comments  
							
							
							
						 
						
							2016-09-09 14:54:16 +01:00  
				
					
						
							
							
								 
						
							
							
								25eb769b26 
								
							
								 
							
						 
						
							
							
								
								Efficiency fix for lookups of a single protocol  
							
							
							
						 
						
							2016-09-09 13:25:02 +01:00  
				
					
						
							
							
								 
						
							
							
								033d43e419 
								
							
								 
							
						 
						
							
							
								
								Don't corrupt shared cache on subsequent protocol requests  
							
							
							
						 
						
							2016-09-09 13:10:36 +01:00  
				
					
						
							
							
								 
						
							
							
								2f267ee160 
								
							
								 
							
						 
						
							
							
								
								Collect up all the "instances" lists of individual AS protocol results into one combined answer to the client  
							
							
							
						 
						
							2016-09-08 17:43:53 +01:00  
				
					
						
							
							
								 
						
							
							
								d9dcb2ba3a 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1041  from matrix-org/paul/third-party-lookup  
							
							... 
							
							
							
							Extend 3PE lookup APIs for metadata query 
							
						 
						
							2016-08-25 17:06:53 +01:00  
				
					
						
							
							
								 
						
							
							
								c435bfee9c 
								
							
								 
							
						 
						
							
							
								
								Don't need toplevel cache on 3PE lookup metadata any more  
							
							
							
						 
						
							2016-08-25 15:57:07 +01:00  
				
					
						
							
							
								 
						
							
							
								5474824975 
								
							
								 
							
						 
						
							
							
								
								Actually query over AS API for 3PE lookup metadata  
							
							
							
						 
						
							2016-08-25 15:29:36 +01:00  
				
					
						
							
							
								 
						
							
							
								8e1ed09dff 
								
							
								 
							
						 
						
							
							
								
								Move static knowledge of protocol metadata into AS handler; cache the result  
							
							
							
						 
						
							2016-08-24 13:01:53 +01:00  
				
					
						
							
							
								 
						
							
							
								9899824b85 
								
							
								 
							
						 
						
							
							
								
								Initial hack at the 3PN protocols metadata lookup API  
							
							
							
						 
						
							2016-08-24 12:33:01 +01:00  
				
					
						
							
							
								 
						
							
							
								9219139351 
								
							
								 
							
						 
						
							
							
								
								Preserve some logcontexts  
							
							
							
						 
						
							2016-08-24 11:58:40 +01:00  
				
					
						
							
							
								 
						
							
							
								5674ea3e6c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1026  from matrix-org/paul/thirdpartylookup  
							
							... 
							
							
							
							3rd party entity lookup 
							
						 
						
							2016-08-18 20:52:50 +01:00  
				
					
						
							
							
								 
						
							
							
								65201631a4 
								
							
								 
							
						 
						
							
							
								
								Move validation logic for AS 3PE query response into ApplicationServiceApi class, to keep the handler logic neater  
							
							
							
						 
						
							2016-08-18 17:33:56 +01:00  
				
					
						
							
							
								 
						
							
							
								697872cf08 
								
							
								 
							
						 
						
							
							
								
								More warnings about invalid results from AS 3PE query  
							
							
							
						 
						
							2016-08-18 17:24:39 +01:00  
				
					
						
							
							
								 
						
							
							
								b515f844ee 
								
							
								 
							
						 
						
							
							
								
								Avoid so much copypasta between 3PU and 3PL query by unifying around a ThirdPartyEntityKind enumeration  
							
							
							
						 
						
							2016-08-18 17:19:55 +01:00  
				
					
						
							
							
								 
						
							
							
								2a91799fcc 
								
							
								 
							
						 
						
							
							
								
								Minor syntax neatenings  
							
							
							
						 
						
							2016-08-18 16:58:25 +01:00  
				
					
						
							
							
								 
						
							
							
								fcf1dec809 
								
							
								 
							
						 
						
							
							
								
								Appease pep8  
							
							
							
						 
						
							2016-08-18 16:26:19 +01:00  
				
					
						
							
							
								 
						
							
							
								06964c4a0a 
								
							
								 
							
						 
						
							
							
								
								Copypasta the 3PU support code to also do 3PL  
							
							
							
						 
						
							2016-08-18 16:09:50 +01:00  
				
					
						
							
							
								 
						
							
							
								d7b42afc74 
								
							
								 
							
						 
						
							
							
								
								Log a warning if an AS yields an invalid 3PU lookup result  
							
							
							
						 
						
							2016-08-18 15:49:55 +01:00  
				
					
						
							
							
								 
						
							
							
								80f4740c8f 
								
							
								 
							
						 
						
							
							
								
								Scattergather the call out to ASes; validate received results  
							
							
							
						 
						
							2016-08-18 15:40:41 +01:00  
				
					
						
							
							
								 
						
							
							
								07229bbdae 
								
							
								 
							
						 
						
							
							
								
								Add appservice worker  
							
							
							
						 
						
							2016-08-18 14:59:55 +01:00  
				
					
						
							
							
								 
						
							
							
								434bbf2cb5 
								
							
								 
							
						 
						
							
							
								
								Filter 3PU lookups by only ASes that declare knowledge of that protocol  
							
							
							
						 
						
							2016-08-18 14:56:02 +01:00  
				
					
						
							
							
								 
						
							
							
								d5bf7a4a99 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'origin/develop' into paul/thirdpartylookup  
							
							
							
						 
						
							2016-08-18 14:21:01 +01:00  
				
					
						
							
							
								 
						
							
							
								f0c73a1e7a 
								
							
								 
							
						 
						
							
							
								
								Extend individual list results into the main return list, don't append  
							
							
							
						 
						
							2016-08-18 13:53:54 +01:00  
				
					
						
							
							
								 
						
							
							
								9da84a9a1e 
								
							
								 
							
						 
						
							
							
								
								Make AppserviceHandler stream events from database  
							
							... 
							
							
							
							This is for two reasons:
1. Suppresses duplicates correctly, as the notifier doesn't do any
   duplicate suppression.
2. Makes it easier to connect the AppserviceHandler to the replication
   stream. 
							
						 
						
							2016-08-18 11:54:41 +01:00  
				
					
						
							
							
								 
						
							
							
								320dfe523c 
								
							
								 
							
						 
						
							
							
								
								Make notify_interested_services faster  
							
							
							
						 
						
							2016-08-17 17:20:50 +01:00  
				
					
						
							
							
								 
						
							
							
								fa87c981e1 
								
							
								 
							
						 
						
							
							
								
								Thread 3PU lookup through as far as the AS API object; which currently noöps it  
							
							
							
						 
						
							2016-08-17 16:17:28 +01:00