mirror of
https://github.com/fergalmoran/dss.api.git
synced 2025-12-26 11:17:59 +00:00
Increased pexpect timeout
This commit is contained in:
@@ -23,7 +23,7 @@ def _backup_database():
|
||||
child.logfile = fout
|
||||
child.expect("[Pp]assword:")
|
||||
child.sendline(settings.DATABASE_PASSWORD)
|
||||
child.expect(pexpect.EOF)
|
||||
child.expect(pexpect.EOF, timeout=120)
|
||||
|
||||
_create_backup_bundle("{0}.tar.gz".format(file_name), 'database', backup_file)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user