Extension:PoolCounter

The PoolCounter extension provides a MediaWiki client for the pool counter daemon.

Daemon
The C poolcounterd daemon is in the   directory.

It requires libevent to be installed (  on Debian-based systems).

Run   to build it, and   to install it.

To make sure it is running, you can run, which should produce output similar to the following:

Configuration
The extension can be configured with the global, which is an associative array with the following keys:
 * servers: An array of server IP addresses. Adding multiple servers causes locks to be distributed on the client side using a consistent hashing algorithm.
 * timeout: The connect timeout in seconds.