Merge pull request #235 from dnadesign/pulls/process-timeout

FIX: Use Configurable trait
This commit is contained in:
Dylan Wagstaff 2018-10-31 09:58:36 +13:00 committed by GitHub
commit 69c5dd6ace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@ use SilverStripe\FullTextSearch\Solr\Solr;
use SilverStripe\FullTextSearch\Solr\SolrIndex; use SilverStripe\FullTextSearch\Solr\SolrIndex;
use SilverStripe\ORM\DB; use SilverStripe\ORM\DB;
use Symfony\Component\Process\Process; use Symfony\Component\Process\Process;
use SilverStripe\Core\Config\Configurable;
/** /**
* Invokes an immediate reindex * Invokes an immediate reindex
@ -19,6 +20,9 @@ use Symfony\Component\Process\Process;
*/ */
class SolrReindexImmediateHandler extends SolrReindexBase class SolrReindexImmediateHandler extends SolrReindexBase
{ {
use Configurable;
/** /**
* Path to the php binary * Path to the php binary
* @config * @config