Commit 2c2b3a81 authored by Shane Kilkelly's avatar Shane Kilkelly
Browse files

Add realtime config and websessions to redis

parent 9e6b7a1a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -66,12 +66,16 @@ settings =
				# track-chanegs:history
				uncompressedHistoryOps: ({doc_id}) -> "UncompressedHistoryOps:#{doc_id}"
				docsWithHistoryOps: ({project_id}) -> "DocsWithHistoryOps:#{project_id}"
				# realtime
				clientsInProject: ({project_id}) -> "clients_in_project:#{project_id}"
				connectedUser: ({project_id, client_id})-> "connected_user:#{project_id}:#{client_id}"
		fairy: redisConfig
		# track-changes and document-updater
		realtime: redisConfig
		documentupdater: redisConfig
		lock: redisConfig
		history: redisConfig
		websessions: redisConfig

	# The compile server (the clsi) uses a SQL database to cache files and
	# meta-data. sqllite is the default, and the load is low enough that this will