Updated GeolocationDbUpdater to always use a local lock even if redis config is provided

This commit is contained in:
Alejandro Celaya committed 2019-11-17 11:09:37 +01:00
1 parent 7c1e40be88
commit d030fd1aa6
3 files changed
+11 -2

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ return [
],
ConfigAbstractFactory::class => [
GeolocationDbUpdater::class => [DbUpdater::class, Reader::class, Locker::class],
GeolocationDbUpdater::class => [DbUpdater::class, Reader::class, 'Shlinkio\Shlink\LocalLockFactory'],
Command\ShortUrl\GenerateShortUrlCommand::class => [Service\UrlShortener::class, 'config.url_shortener.domain'],
Command\ShortUrl\ResolveUrlCommand::class => [Service\UrlShortener::class],