mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Merge pull request #13479 from appwrite/fix/postgres-durability-flags
Remove PostgreSQL durability-disabling flags from the shipped compose template
This commit is contained in:
2 files changed
+1
-15
No files matched your search
@@ -1836,12 +1836,6 @@ services:
|
||||
start_period: 10s
|
||||
command:
|
||||
- postgres
|
||||
- -c
|
||||
- fsync=off
|
||||
- -c
|
||||
- synchronous_commit=off
|
||||
- -c
|
||||
- full_page_writes=off
|
||||
appwrite-embedding:
|
||||
image: appwrite/embedding:0.1.0
|
||||
environment:
|
||||
|
||||
@@ -149,15 +149,7 @@ final class GeneratorTest extends TestCase
|
||||
]);
|
||||
|
||||
$this->assertSame(['mysqld', '--innodb-flush-method=fsync'], $mariadb['services']['mariadb']['command']);
|
||||
$this->assertSame([
|
||||
'postgres',
|
||||
'-c',
|
||||
'fsync=off',
|
||||
'-c',
|
||||
'synchronous_commit=off',
|
||||
'-c',
|
||||
'full_page_writes=off',
|
||||
], $postgresql['services']['postgresql']['command']);
|
||||
$this->assertSame(['postgres'], $postgresql['services']['postgresql']['command']);
|
||||
$this->assertSame([
|
||||
'redis-server',
|
||||
'--maxmemory',
|
||||
|
||||
Reference in new issue
Block a user