ac66e11f2b 
								
							
								 
							
						 
						
							
							
								
								Add the appropriate amount of preserve_fn  
							
							
							
						 
						
							2017-04-04 15:22:54 +01:00  
				
					
						
							
							
								 
						
							
							
								36c28bc467 
								
							
								 
							
						 
						
							
							
								
								Update all the workers and master to use TCP replication  
							
							
							
						 
						
							2017-04-03 15:35:52 +01:00  
				
					
						
							
							
								 
						
							
							
								067b00d49d 
								
							
								 
							
						 
						
							
							
								
								Run the reactor with the sentinel logcontext  
							
							... 
							
							
							
							This fixes a class of 'Unexpected logcontext' messages, which were happening
because the logcontext was somewhat arbitrarily swapping between the sentinel
and the `run` logcontext. 
							
						 
						
							2017-03-18 00:07:43 +00:00  
				
					
						
							
							
								 
						
							
							
								d84bd51e95 
								
							
								 
							
						 
						
							
							
								
								Refactor logger config for workers  
							
							... 
							
							
							
							- to make it easier to add more config options. 
							
						 
						
							2017-03-10 15:34:01 +00:00  
				
					
						
							
							
								 
						
							
							
								edd6cdfc9a 
								
							
								 
							
						 
						
							
							
								
								Restore default bind address  
							
							
							
						 
						
							2017-01-10 17:21:41 +00:00  
				
					
						
							
							
								 
						
							
							
								8a0fddfd73 
								
							
								 
							
						 
						
							
							
								
								Remove spurious for..else..  
							
							
							
						 
						
							2017-01-10 16:30:53 +00:00  
				
					
						
							
							
								 
						
							
							
								702c020e58 
								
							
								 
							
						 
						
							
							
								
								Fix check for bind_address  
							
							... 
							
							
							
							The empty string is a valid setting for the bind_address option, so
explicitly check for None here instead.
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> 
							
						 
						
							2016-12-20 01:37:50 +01:00  
				
					
						
							
							
								 
						
							
							
								7dfd70fc83 
								
							
								 
							
						 
						
							
							
								
								Add support for specifying multiple bind addresses  
							
							... 
							
							
							
							Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> 
							
						 
						
							2016-12-18 21:51:56 +01:00  
				
					
						
							
							
								 
						
							
							
								24772ba56e 
								
							
								 
							
						 
						
							
							
								
								Respect use_frozen_dicts option in workers  
							
							
							
						 
						
							2016-11-08 11:07:18 +00:00  
				
					
						
							
							
								 
						
							
							
								748d8fdc7b 
								
							
								 
							
						 
						
							
							
								
								Reduce DB hits for replication  
							
							... 
							
							
							
							Some streams will occaisonally advance their positions without actually
having any new rows to send over federation. Currently this means that
the token will not advance on the workers, leading to them repeatedly
sending a slightly out of date token. This in turns requires the master
to hit the DB to check if there are any new rows, rather than hitting
the no op logic where we check if the given token matches the current
token.
This commit changes the API to always return an entry if the position
for a stream has changed, allowing workers to advance their tokens
correctly. 
							
						 
						
							2016-09-23 16:49:21 +01:00  
				
					
						
							
							
								 
						
							
							
								4be85281f9 
								
							
								 
							
						 
						
							
							
								
								Enable state caches on workers  
							
							
							
						 
						
							2016-09-15 14:31:22 +01:00  
				
					
						
							
							
								 
						
							
							
								784a2d4f2c 
								
							
								 
							
						 
						
							
							
								
								Remove broken cache stuff  
							
							
							
						 
						
							2016-08-15 11:25:48 +01:00  
				
					
						
							
							
								 
						
							
							
								24f36469bc 
								
							
								 
							
						 
						
							
							
								
								Add federation /version API  
							
							
							
						 
						
							2016-08-05 16:36:07 +01:00  
				
					
						
							
							
								 
						
							
							
								8c75040c25 
								
							
								 
							
						 
						
							
							
								
								Fix setting gc thresholds in the workers  
							
							
							
						 
						
							2016-06-17 11:48:12 +01:00  
				
					
						
							
							
								 
						
							
							
								a352b68acf 
								
							
								 
							
						 
						
							
							
								
								Use worker_ prefixes for worker config, use existing support for multiple config files  
							
							
							
						 
						
							2016-06-16 17:29:50 +01:00  
				
					
						
							
							
								 
						
							
							
								364d616792 
								
							
								 
							
						 
						
							
							
								
								Access the event_cache_size directly from the server object.  
							
							... 
							
							
							
							This means that the workers can override the event_cache_size
directly without clobbering the value in the main synapse config. 
							
						 
						
							2016-06-16 12:53:15 +01:00  
				
					
						
							
							
								 
						
							
							
								bde13833cb 
								
							
								 
							
						 
						
							
							
								
								Access replication_url from the worker config directly  
							
							
							
						 
						
							2016-06-16 12:44:40 +01:00  
				
					
						
							
							
								 
						
							
							
								885ee861f7 
								
							
								 
							
						 
						
							
							
								
								Inline the synchrotron and pusher configs into the main config  
							
							
							
						 
						
							2016-06-16 11:06:12 +01:00  
				
					
						
							
							
								 
						
							
							
								2d1d1025fa 
								
							
								 
							
						 
						
							
							
								
								Add gc_threshold to pusher and synchrotron  
							
							
							
						 
						
							2016-06-07 16:26:25 +01:00  
				
					
						
							
							
								 
						
							
							
								dded389ac1 
								
							
								 
							
						 
						
							
							
								
								Allow setting of gc.set_thresholds  
							
							
							
						 
						
							2016-06-07 15:45:56 +01:00  
				
					
						
							
							
								 
						
							
							
								5ef84da4f1 
								
							
								 
							
						 
						
							
							
								
								Yield on the sleeps intended to backoff replication  
							
							
							
						 
						
							2016-06-06 16:05:28 +01:00  
				
					
						
							
							
								 
						
							
							
								1f31cc37f8 
								
							
								 
							
						 
						
							
							
								
								Working unsubscribe links going straight to the HS  
							
							... 
							
							
							
							and authed by macaroons that let you delete pushers and nothing else 
							
						 
						
							2016-06-02 17:21:31 +01:00  
				
					
						
							
							
								 
						
							
							
								b3f29dc1e5 
								
							
								 
							
						 
						
							
							
								
								Manually expire broken caches like the who_forgot_in_room  
							
							
							
						 
						
							2016-05-13 17:16:27 +01:00  
				
					
						
							
							
								 
						
							
							
								f03ddc98ec 
								
							
								 
							
						 
						
							
							
								
								Use the SlavedAccountDataStore  
							
							
							
						 
						
							2016-05-13 17:01:28 +01:00  
				
					
						
							
							
								 
						
							
							
								206eb9fd94 
								
							
								 
							
						 
						
							
							
								
								Shift some of the state_group methods into the SlavedEventStore  
							
							
							
						 
						
							2016-05-13 16:58:14 +01:00  
				
					
						
							
							
								 
						
							
							
								b5e646a18c 
								
							
								 
							
						 
						
							
							
								
								Make email notifs work on the pusher synapse  
							
							... 
							
							
							
							Plus general bugfix to email notif code 
							
						 
						
							2016-05-13 11:36:50 +01:00  
				
					
						
							
							
								 
						
							
							
								ae1af262f6 
								
							
								 
							
						 
						
							
							
								
								Pass through _get_state_group_for_events  
							
							
							
						 
						
							2016-05-10 19:18:03 +02:00  
				
					
						
							
							
								 
						
							
							
								90afc07f39 
								
							
								 
							
						 
						
							
							
								
								StateStore, not EventsStore  
							
							
							
						 
						
							2016-05-10 19:10:46 +02:00  
				
					
						
							
							
								 
						
							
							
								89b5ef7c4b 
								
							
								 
							
						 
						
							
							
								
								Cached functions must be accessed through the dict  
							
							
							
						 
						
							2016-05-10 19:05:22 +02:00  
				
					
						
							
							
								 
						
							
							
								35b6e6d2a8 
								
							
								 
							
						 
						
							
							
								
								Pass though _get_state_group_for_events  
							
							
							
						 
						
							2016-05-10 18:56:40 +02:00  
				
					
						
							
							
								 
						
							
							
								3367e65476 
								
							
								 
							
						 
						
							
							
								
								Pass through get_state_groups  
							
							
							
						 
						
							2016-05-10 18:53:15 +02:00  
				
					
						
							
							
								 
						
							
							
								0c4ccdcb83 
								
							
								 
							
						 
						
							
							
								
								Also pass through get_profile_displayname  
							
							
							
						 
						
							2016-05-10 18:51:14 +02:00  
				
					
						
							
							
								 
						
							
							
								9ef05a12c3 
								
							
								 
							
						 
						
							
							
								
								Add date header & message id  
							
							
							
						 
						
							2016-05-04 14:52:10 +01:00  
				
					
						
							
							
								 
						
							
							
								8cc82aad87 
								
							
								 
							
						 
						
							
							
								
								Add db functions used for email to the pusher app  
							
							
							
						 
						
							2016-05-04 11:47:59 +01:00  
				
					
						
							
							
								 
						
							
							
								71df327190 
								
							
								 
							
						 
						
							
							
								
								Actually start the pusher daemon  
							
							
							
						 
						
							2016-04-26 17:07:09 +01:00  
				
					
						
							
							
								 
						
							
							
								c9eab73f2a 
								
							
								 
							
						 
						
							
							
								
								Fix typo in default pusher config  
							
							
							
						 
						
							2016-04-26 17:06:18 +01:00  
				
					
						
							
							
								 
						
							
							
								b80b93ea0f 
								
							
								 
							
						 
						
							
							
								
								Add a log context to the daemonized pusher  
							
							
							
						 
						
							2016-04-26 15:57:28 +01:00  
				
					
						
							
							
								 
						
							
							
								6df5a6a833 
								
							
								 
							
						 
						
							
							
								
								Optionally daemonize the pusher  
							
							
							
						 
						
							2016-04-26 15:37:41 +01:00  
				
					
						
							
							
								 
						
							
							
								9c417c54d4 
								
							
								 
							
						 
						
							
							
								
								Add a couple of update methods to the PusherSlaveStore  
							
							
							
						 
						
							2016-04-26 10:45:02 +01:00  
				
					
						
							
							
								 
						
							
							
								f15e9e8de4 
								
							
								 
							
						 
						
							
							
								
								Remove the uncomments from the comments  
							
							
							
						 
						
							2016-04-25 17:56:24 +01:00  
				
					
						
							
							
								 
						
							
							
								72e2fafa20 
								
							
								 
							
						 
						
							
							
								
								Add a metrics listener and a ssh listener to the pusher  
							
							
							
						 
						
							2016-04-25 17:34:25 +01:00  
				
					
						
							
							
								 
						
							
							
								a3ac837599 
								
							
								 
							
						 
						
							
							
								
								Optionally split out the pushers into a separate process  
							
							
							
						 
						
							2016-04-21 17:22:37 +01:00