mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
set the lifetime higher
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user