SphinxClient
PHP Manual

SphinxClient::setRetries

(No version information available, might be only in CVS)

SphinxClient::setRetriesSet retry count and delay

Description

public bool SphinxClient::setRetries ( int $count [, int $delay ] )

Sets distributed retry count and delay.

On temporary failures searchd will attempt up to count retries per agent. delay is the delay between the retries, in milliseconds. Retries are disabled by default. Note that this call will not make the API itself retry on temporary failure; it only tells searchd to do so.

Liste de paramètres

count

Number of retries.

delay

Delay between retries, in milliseconds.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès, FALSE en cas d'échec.


SphinxClient
PHP Manual