diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-08-03 19:56:57 +0300 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-08-03 19:56:57 +0300 |
commit | 47fdbb9e974f07d548e5f9e78505117ebf5d89d6 (patch) | |
tree | 083c6e4444342b1cfcce871fadd93b308caf257c /lib | |
parent | 6f9e909d93eee6da900d2786feaf5e9c1b80ecd0 (diff) |
cleaning/renaming
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Command/Live.php | 4 | ||||
-rw-r--r-- | lib/Command/Test.php | 1 | ||||
-rw-r--r-- | lib/Cron/Index.php | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/lib/Command/Live.php b/lib/Command/Live.php index deac58c..70a1037 100644 --- a/lib/Command/Live.php +++ b/lib/Command/Live.php @@ -152,7 +152,7 @@ class Live extends ExtendedBase { $indexes = $this->indexService->getQueuedIndexes(); foreach ($indexes as $index) { - $this->runner->update('indexing'); + $this->runner->updateAction('indexing'); try { $provider = $this->providerService->getProvider($index->getProviderId()); @@ -165,7 +165,7 @@ class Live extends ExtendedBase { } } - $this->runner->update('waiting'); + $this->runner->updateAction('waiting'); sleep(self::CYCLE_DELAY); } diff --git a/lib/Command/Test.php b/lib/Command/Test.php index 59bd6be..1cbdaa8 100644 --- a/lib/Command/Test.php +++ b/lib/Command/Test.php @@ -138,7 +138,6 @@ class Test extends ExtendedBase { 'platform_delay' ) : self::DELAY_STABILIZE_PLATFORM; - echo '$' . $input->getOption('platform_delay') . '$'; $this->output($output, '.Testing your current setup:'); try { diff --git a/lib/Cron/Index.php b/lib/Cron/Index.php index e397b4e..f8d38fc 100644 --- a/lib/Cron/Index.php +++ b/lib/Cron/Index.php @@ -105,7 +105,7 @@ class Index extends TimedJob { $indexes = $this->indexService->getQueuedIndexes(); foreach ($indexes as $index) { - $this->runner->update('indexing'); + $this->runner->updateAction('indexing'); try { $provider = $this->providerService->getProvider($index->getProviderId()); |