Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix missing $config dependency in RetryJob
Signed-off-by: Morris Jobke <[email protected]>
  • Loading branch information
MorrisJobke authored and rullzer committed Mar 18, 2019
commit ee6426024d3c996a770bd26b857be031b6233d78
3 changes: 3 additions & 0 deletions apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ class RetryJob extends Job {
private $lookupServer;
/** @var int how much time should be between two, will be increased for each retry */
private $interval = 100;
/** @var IConfig */
private $config;

/**
* @param IClientService $clientService
Expand All @@ -49,6 +51,7 @@ public function __construct(IClientService $clientService,
IConfig $config) {
$this->clientService = $clientService;
$this->jobList = $jobList;
$this->config = $config;

if ($config->getSystemValue('has_internet_connection', true) === false) {
return;
Expand Down