File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 9494 $ backups ['database_db_fra1_02 ' ] = ['from ' => '7:30 ' , 'to ' => '8:15 ' ];
9595 $ backups ['database_db_fra1_03 ' ] = ['from ' => '10:30 ' , 'to ' => '11:15 ' ];
9696 $ backups ['database_db_fra1_04 ' ] = ['from ' => '13:30 ' , 'to ' => '14:15 ' ];
97+ $ backups ['database_db_fra1_05 ' ] = ['from ' => '4:30 ' , 'to ' => '5:15 ' ];
9798
9899 $ databases = Config::getParam ('pools-database ' , []);
99100
117118 }
118119 }
119120
120- $ database = $ databases [array_rand ($ databases )];
121+ if ($ index = array_search ('database_db_fra1_05 ' , $ databases )) {
122+ $ database = $ databases [$ index ];
123+ } else {
124+ $ database = $ databases [array_rand ($ databases )];
125+ }
121126
122127 if ($ projectId === 'console ' ) {
123128 throw new Exception (Exception::PROJECT_RESERVED_PROJECT , "'console' is a reserved project. " );
You can’t perform that action at this time.
0 commit comments