Re: database abstraction layer
| From: | Rene Veerman | Date: | Tue, 02 Feb 2010 23:18:38 +0000 |
| Subject: | Re: database abstraction layer | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301756@lists.php.net to get a copy of this message | ||
eh thats "randomize the timing of the retry attempt"..
On Wed, Feb 3, 2010 at 12:17 AM, Rene Veerman <rene7705@gmail.com> wrote:
> and after the sleep(rand(1,3)) it might need a short loop like this;
> $rnd = rand(1,99999); $a=0;
> for ($i=0; $i<$rnd; $i++) { $a++ }
>
> to further randomize the retry attempt..
>
>