Skip to content

Commit da55c84

Browse files
committed
Remove duplicate and unnecessary executions of 'pre-atart' scripts in BPM context
and also remove unnecessary mounting of 'postgres-10' folder to prevent it from being recreated at each startup
1 parent 25db957 commit da55c84

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

jobs/postgres-10/templates/bpm.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ postgres_config = {
88
"limits" => {
99
"open_files" => 65536,
1010
},
11-
"hooks" => {
12-
"pre_start" => "/var/vcap/jobs/postgres-10/bin/pre-start",
13-
}
1411
}
1512
1613
config = {

jobs/postgres/templates/bpm.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,10 @@ postgres_config = {
99
"path" => "/var/vcap/store/postgres-13",
1010
"writable" => true,
1111
},
12-
{
13-
"path" => "/var/vcap/store/postgres-10",
14-
"writable" => true,
15-
},
1612
],
1713
"limits" => {
1814
"open_files" => 65536,
1915
},
20-
"hooks" => {
21-
"pre_start" => "/var/vcap/jobs/postgres/bin/pre-start",
22-
}
2316
}
2417
2518
config = {

0 commit comments

Comments
 (0)