*/
protected function __construct( array $params ) {
parent::__construct( $params );
- $section = $params['sectionsByWiki'][$this->wiki] ?? 'default';
+ $section = $params['sectionsByWiki'][$this->domain] ?? 'default';
if ( !isset( $params['partitionsBySection'][$section] ) ) {
throw new MWException( "No configuration for section '$section'." );
}
}
public function getCoalesceLocationInternal() {
- return "JobQueueFederated:wiki:{$this->wiki}" .
+ return "JobQueueFederated:wiki:{$this->domain}" .
sha1( serialize( array_keys( $this->partitionQueues ) ) );
}