|
36 | 36 | port: "5432" |
37 | 37 | user: wire-server |
38 | 38 | dbname: wire-server |
| 39 | + # See pool size calculation guide: https://docs.wire.com/latest/how-to/administrate/postgresql.html |
| 40 | + postgresqlPool: |
| 41 | + size: 10 # adjust pool size as needed based on expected load and available resources |
39 | 42 | useSES: false |
40 | 43 | # Set to false if you want to hand out DynamoDB to store prekeys |
41 | 44 | randomPrekeys: true |
@@ -183,10 +186,15 @@ galley: |
183 | 186 | port: "5432" |
184 | 187 | user: wire-server |
185 | 188 | dbname: wire-server |
| 189 | + # See pool size calculation guide: https://docs.wire.com/latest/how-to/administrate/postgresql.html |
| 190 | + postgresqlPool: |
| 191 | + size: 10 # adjust pool size as needed based on expected load and available resources |
186 | 192 | # Explicitly set postgresMigration to cassandra for fresh deployments. |
187 | | - # This controls whether galley reads conversations from Cassandra or PostgreSQL. |
| 193 | + # This controls whether galley reads conversations/teamFeatures from Cassandra or PostgreSQL. |
188 | 194 | postgresMigration: |
189 | 195 | conversation: cassandra |
| 196 | + conversationCodes: cassandra |
| 197 | + teamFeatures: cassandra |
190 | 198 | enableFederation: false # Enable to use federation |
191 | 199 | settings: |
192 | 200 | # prefix URI used when inviting users to a conversation by link |
@@ -366,13 +374,16 @@ background-worker: |
366 | 374 | port: "5432" |
367 | 375 | user: wire-server |
368 | 376 | dbname: wire-server |
369 | | - # IMPORTANT: At Chart 5.25.0, the background-worker Helm chart incorrectly defaults |
370 | | - # postgresMigration.conversation to "postgresql" instead of "cassandra". |
371 | | - # This MUST be explicitly set to "cassandra" unless you have already migrated |
372 | | - # conversations to PostgreSQL. Without this override, User Group to Channel sync |
373 | | - # jobs will silently skip member synchronization. |
| 377 | + # See pool size calculation guide: https://docs.wire.com/latest/how-to/administrate/postgresql.html |
| 378 | + postgresqlPool: |
| 379 | + size: 5 # Background worker has fewer connections to DB, so smaller pool size is fine |
374 | 380 | postgresMigration: |
375 | 381 | conversation: cassandra |
| 382 | + conversationCodes: cassandra |
| 383 | + teamFeatures: cassandra |
| 384 | + migrateConversations: false |
| 385 | + migrateConversationCodes: false |
| 386 | + migrateTeamFeatures: false |
376 | 387 | # Enable for federation |
377 | 388 | enableFederation: false |
378 | 389 | metrics: |
|
0 commit comments