php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #70511 findOne should support a client timeout option
Submitted: 2015-09-16 10:29 UTC Modified: 2020-11-03 18:23 UTC
From: fabrice at workdigital dot co dot uk Assigned: cmb (profile)
Status: Closed Package: mongo (PECL)
PHP Version: 5.6.13 OS:
Private report: No CVE-ID: None
 [2015-09-16 10:29 UTC] fabrice at workdigital dot co dot uk
Description:
------------
The current MongoCursor::findOne() method supports only one option, which is maxTimeMS.
After investigation, this only affect the server timeout, but we also need to set a max timeout for client timeout (defaults to 30s with no way to change it)



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-11-03 18:23 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2020-11-03 18:23 UTC] cmb@php.net
Given that the mongo package is superseeded by the mongodb
package, and is only maintained for bug fixes, I'm closing this
feature request ticket.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Apr 10 23:01:24 2021 UTC