diff options
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r-- | src/Wallabag/CoreBundle/Command/InstallCommand.php | 7 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSettingData.php | 7 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/config/services.yml | 8 |
3 files changed, 20 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Command/InstallCommand.php b/src/Wallabag/CoreBundle/Command/InstallCommand.php index 8a2439ec..4b1ec02a 100644 --- a/src/Wallabag/CoreBundle/Command/InstallCommand.php +++ b/src/Wallabag/CoreBundle/Command/InstallCommand.php | |||
@@ -322,7 +322,12 @@ class InstallCommand extends ContainerAwareCommand | |||
322 | 'section' => 'import', | 322 | 'section' => 'import', |
323 | ], | 323 | ], |
324 | [ | 324 | [ |
325 | 'name' => 'rabbitmq', | 325 | 'name' => 'import_with_redis', |
326 | 'value' => '0', | ||
327 | 'section' => 'import', | ||
328 | ], | ||
329 | [ | ||
330 | 'name' => 'import_with_rabbitmq', | ||
326 | 'value' => '0', | 331 | 'value' => '0', |
327 | 'section' => 'import', | 332 | 'section' => 'import', |
328 | ], | 333 | ], |
diff --git a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSettingData.php b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSettingData.php index 778f91ed..3ed6bafe 100644 --- a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSettingData.php +++ b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadSettingData.php | |||
@@ -96,7 +96,12 @@ class LoadSettingData extends AbstractFixture implements OrderedFixtureInterface | |||
96 | 'section' => 'import', | 96 | 'section' => 'import', |
97 | ], | 97 | ], |
98 | [ | 98 | [ |
99 | 'name' => 'rabbitmq', | 99 | 'name' => 'import_with_redis', |
100 | 'value' => '0', | ||
101 | 'section' => 'import', | ||
102 | ], | ||
103 | [ | ||
104 | 'name' => 'import_with_rabbitmq', | ||
100 | 'value' => '0', | 105 | 'value' => '0', |
101 | 'section' => 'import', | 106 | 'section' => 'import', |
102 | ], | 107 | ], |
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index e95ef452..23e6d3ca 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml | |||
@@ -125,3 +125,11 @@ services: | |||
125 | arguments: | 125 | arguments: |
126 | - "@security.token_storage" | 126 | - "@security.token_storage" |
127 | - "@router" | 127 | - "@router" |
128 | |||
129 | wallabag_core.redis.client: | ||
130 | class: Predis\Client | ||
131 | arguments: | ||
132 | - | ||
133 | host: '%redis_host%' | ||
134 | port: '%redis_port%' | ||
135 | schema: tcp | ||