php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #58345 Allow connection timeouts in ms, not seconds
Submitted: 2008-09-17 17:40 UTC Modified: 2009-01-16 13:11 UTC
From: ian at digg dot com Assigned:
Status: Closed Package: memcache (PECL)
PHP Version: 5.2.0 OS: OS X
Private report: No CVE-ID: None
 [2008-09-17 17:40 UTC] ian at digg dot com
Description:
------------
In some use cases (ours included), one second is longer than we'd like to wait before marking a memcache server as down.

It would be great if there was some way of specifying the timeout in ms instead of full seconds.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-01-16 13:11 UTC] mikael at synd dot info
Accept timeout parameter as float to enable microsecond timeouts, param is still given in seconds but with a microsecond fraction.

Committed to CVS on 3.0.x branch
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 16:01:29 2024 UTC