This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/modules/system/src/Form/FileSystemForm.php b/core/modules/system/src/Form/FileSystemForm.php | |
index d81488b44e..ded629db47 100644 | |
--- a/core/modules/system/src/Form/FileSystemForm.php | |
+++ b/core/modules/system/src/Form/FileSystemForm.php | |
@@ -136,7 +136,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { | |
]; | |
} | |
- $intervals = [0, 21600, 43200, 86400, 604800, 2419200, 7776000]; | |
+ $intervals = [0, 3600, 21600, 43200, 86400, 604800, 2419200, 7776000]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from psycopg import connect, OperationalError | |
def create_connection(db_name, db_user, db_password, db_host = "localhost", db_port = "5432"): | |
connection = None | |
try: | |
connection = connect( | |
dbname=db_name, | |
user=db_user, | |
password=db_password, | |
host=db_host, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DATABASE_URL=postgres://postgres:[email protected]:5432/postgres | |
SECRET_KEY=the-value-you-copy-from-the-original-settings-file |