Bugfix: Set SearchUpdateCommitJobProcessor::$dirty_indexes prop type to array, not bool

This commit is contained in:
cpenny 2017-08-18 12:47:30 +12:00
parent 7115a7a955
commit e196de2ac2
1 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ class SearchUpdateCommitJobProcessor implements QueuedJob
{
/**
* The QueuedJob queue to use when processing commits
*
*
* @config
* @var int
*/
@ -47,12 +47,12 @@ class SearchUpdateCommitJobProcessor implements QueuedJob
*
* @var array
*/
public static $dirty_indexes = true;
public static $dirty_indexes = array();
/**
* If solrindex::commit has already been performed, but additional commits are necessary,
* how long do we wait before attempting to touch the index again?
*
*
* {@see http://stackoverflow.com/questions/7512945/how-to-fix-exceeded-limit-of-maxwarmingsearchers}
*
* @var int
@ -154,7 +154,7 @@ class SearchUpdateCommitJobProcessor implements QueuedJob
return;
}
// If any commit has run, but some (or all) indexes are un-comitted, we must re-schedule this task.
// This could occur if we completed a searchupdate job in a prior request, as well as in
// the current request