mirror of
https://github.com/silverstripe/silverstripe-externallinks.git
synced 2024-10-22 17:05:44 +02:00
Merge branch '3.1' into 3
This commit is contained in:
commit
884658ed6f
@ -69,9 +69,6 @@ class CMSExternalLinksController extends Controller
|
|||||||
$checkLinks = new CheckExternalLinksJob();
|
$checkLinks = new CheckExternalLinksJob();
|
||||||
singleton(QueuedJobService::class)->queueJob($checkLinks);
|
singleton(QueuedJobService::class)->queueJob($checkLinks);
|
||||||
} else {
|
} else {
|
||||||
//TODO this hangs as it waits for the connection to be released
|
|
||||||
// should return back and continue processing
|
|
||||||
// http://us3.php.net/manual/en/features.connection-handling.php
|
|
||||||
$task = CheckExternalLinksTask::create();
|
$task = CheckExternalLinksTask::create();
|
||||||
$task->runLinksCheck();
|
$task->runLinksCheck();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user