diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2019-12-24 14:24:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-24 14:24:44 +0300 |
commit | 42454eb56e02899d2282e1eb6bf81983e666d933 (patch) | |
tree | f62b48f2c26f8c1a5bd0519ec43264b14a239db8 /config/global.php | |
parent | 2915d75f69f2340ee6dcf1a9f4401b658fb8c966 (diff) |
Lock when archiving and avoid invalidating sites that have archiving in progress (#15272)
* Use a lock when archiving and do not invalidate when archiving is in progress.
* Add and fix tests + modify workflow.
* forgot to add file and remove TODO
* Remove use of argument.
* Add back min archive time processed code and start on tests for it.
* Finish new LoaderTest.
* Fix new tests.
Diffstat (limited to 'config/global.php')
-rw-r--r-- | config/global.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/global.php b/config/global.php index 9d8666efd0..5499b0920a 100644 --- a/config/global.php +++ b/config/global.php @@ -217,5 +217,5 @@ return array( \Piwik\CronArchive\Performance\Logger::class => DI\object()->constructorParameter('logger', DI\get('archiving.performance.logger')), - 'Piwik\Concurrency\LockBackend' => DI\object(\Piwik\Concurrency\LockBackend\MySqlLockBackend::class) + \Piwik\Concurrency\LockBackend::class => \DI\get(\Piwik\Concurrency\LockBackend\MySqlLockBackend::class), ); |