set the lifetime higher

This commit is contained in:
github-actions
2024-08-02 12:02:47 +02:00
parent 4e034966c2
commit d538aaf7d5
2 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ $config['migration_path'] = APPPATH . 'migrations/';
$config['migration_lockfile'] = sys_get_temp_dir() . '/.migration_running'; $config['migration_lockfile'] = sys_get_temp_dir() . '/.migration_running';
// the maximum age of the lockfile in seconds // the maximum age of the lockfile in seconds
$config['migration_lf_maxage'] = 30; $config['migration_lf_maxage'] = 300;
/* End of file migration.php */ /* End of file migration.php */

View File

@@ -159,8 +159,8 @@ class CI_Migration {
// If not set, set it // If not set, set it
$this->_migration_lockfile !== '' OR $this->_migration_lockfile = '/tmp/.migration_running'; $this->_migration_lockfile !== '' OR $this->_migration_lockfile = '/tmp/.migration_running';
// selockfile maxage if not set in config file. Fallback is 60 seconds. // selockfile maxage if not set in config file. Fallback is 480 seconds.
$this->_migration_lf_maxage !== '' OR $this->_migration_lf_maxage = 60; $this->_migration_lf_maxage !== '' OR $this->_migration_lf_maxage = 480;
// Load migration language // Load migration language
$this->lang->load('migration'); $this->lang->load('migration');