Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authordiosmosis <diosmosis@users.noreply.github.com>2019-12-24 14:24:44 +0300
committerGitHub <noreply@github.com>2019-12-24 14:24:44 +0300
commit42454eb56e02899d2282e1eb6bf81983e666d933 (patch)
treef62b48f2c26f8c1a5bd0519ec43264b14a239db8 /config
parent2915d75f69f2340ee6dcf1a9f4401b658fb8c966 (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')
-rw-r--r--config/global.php2
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),
);