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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fabrice at workdigital dot co dot uk
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 08:01:29 2025 UTC