c36228c403 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert run_as_background_process inner function to async. ( #8032 )  
							
							
							
						 
						
							2020-08-06 08:20:42 -04:00  
				
					
						
							
							
								 
						
							
							
								4cce8ef74e 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert appservice to async. ( #7973 )  
							
							
							
						 
						
							2020-07-30 07:27:39 -04:00  
				
					
						
							
							
								 
						
							
							
								6d687ebba1 
								
									
								
							
								 
							
						 
						
							
							
								
								Convert the appservice handler to async/await. ( #7775 )  
							
							
							
						 
						
							2020-07-06 07:40:35 -04:00  
				
					
						
							
							
								 
						
							
							
								1e03513f9a 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix new metric where we used ms instead of seconds ( #7771 )  
							
							... 
							
							
							
							Introduced in #7755 , not yet released. 
							
						 
						
							2020-07-01 15:23:58 +01:00  
				
					
						
							
							
								 
						
							
							
								a99658074d 
								
									
								
							
								 
							
						 
						
							
							
								
								Add some metrics for inbound and outbound federation processing times ( #7755 )  
							
							
							
						 
						
							2020-06-30 16:58:06 +01:00  
				
					
						
							
							
								 
						
							
							
								bd6dc17221 
								
									
								
							
								 
							
						 
						
							
							
								
								Replace iteritems/itervalues/iterkeys with native versions. ( #7692 )  
							
							
							
						 
						
							2020-06-15 07:03:36 -04:00  
				
					
						
							
							
								 
						
							
							
								020add5099 
								
									
								
							
								 
							
						 
						
							
							
								
								Update black to 19.10b0 ( #6304 )  
							
							... 
							
							
							
							* update version of black and also fix the mypy config being overridden 
							
						 
						
							2019-11-01 02:43:24 +11:00  
				
					
						
							
							
								 
						
							
							
								2a44782666 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove double return statements ( #5962 )  
							
							... 
							
							
							
							Remove all the "double return" statements which were a result of us removing all the instances of
```
defer.returnValue(...)
return
```
statements when we switched to python3 fully. 
							
						 
						
							2019-09-03 11:42:45 +01:00  
				
					
						
							
							
								 
						
							
							
								4806651744 
								
									
								
							
								 
							
						 
						
							
							
								
								Replace returnValue with return ( #5736 )  
							
							
							
						 
						
							2019-07-23 23:00:55 +10:00  
				
					
						
							
							
								 
						
							
							
								463b072b12 
								
									
								
							
								 
							
						 
						
							
							
								
								Move logging utilities out of the side drawer of util/ and into logging/ ( #5606 )  
							
							
							
						 
						
							2019-07-04 00:07:04 +10:00  
				
					
						
							
							
								 
						
							
							
								32e7c9e7f2 
								
									
								
							
								 
							
						 
						
							
							
								
								Run Black. ( #5482 )  
							
							
							
						 
						
							2019-06-20 19:32:02 +10:00  
				
					
						
							
							
								 
						
							
							
								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