Manual:$wgPoolCountClientConf

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<translate> Performance hacks and limits</translate>: $wgPoolCountClientConf
Configuration array for the PoolCounter client.
<translate> Introduced in version:</translate>1.40.0 (Gerrit change 834401; git #adb9c0cc)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(array)
<translate> Default value:</translate>See below

Details

Configuration array for the PoolCounter client.

  • servers - Array of hostnames, or hostname:port. The default port is 7531.
  • timeout - Connection timeout.
  • connect_timeout - Alternative connection timeout. If set, it is used instead of `timeout` and will be retried once if a connection fails to be established. Background: phab:T105378.

Default values

$wgPoolCountClientConf = [
	'servers' => [
		'127.0.0.1',
	],
	'timeout' => 0.1,
];