mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-03 19:58:14 +00:00 
			
		
		
		
	feat(postgres): add split_postgres_connections filter and average pool fact
Compute POSTGRES_ALLOWED_AVG_CONNECTIONS once and propagate to app roles (gitlab, mastodon, listmonk, matrix, pretix, mobilizon, openproject, discourse). Fix docker-compose postgres command (-c flags split). Add unit tests. Minor env/locale tweaks and includes. Conversation: https://chatgpt.com/share/68b48e72-cc28-800f-9c21-270cbc17d82a
This commit is contained in:
		@@ -119,4 +119,6 @@ LDAP_USER_ATTR_MAP='{"username":"uid","first_name":"givenName","last_name":"sn",
 | 
			
		||||
 | 
			
		||||
FUNKWHALE_FRONTEND_PATH=/srv/funkwhale/front/dist
 | 
			
		||||
 | 
			
		||||
DATABASE_URL = {{ database_url_full }}
 | 
			
		||||
DATABASE_URL = {{ database_url_full }}
 | 
			
		||||
WEB_CONCURRENCY="{{ POSTGRES_ALLOWED_AVG_CONNECTIONS }}"
 | 
			
		||||
WORKER_THREADS="{{ POSTGRES_ALLOWED_AVG_CONNECTIONS | int // 2 }}"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user