Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-47

Allow to make non-persistent connections in new-style constructor

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      with new Couchbase("http://server:port/bucket") you have no way of specifying that you don't want a persistent connection. You can do so with new Couchbase($server, $user, $pass, $bucket, $persistent), but it'd be nice to allow new Couchbase($url[, persistent = true]);

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        laruence Xinchen Hui added a comment -

        yes, it should. sorry for missed that.

        I will work on it soon..

        thanks

        Show
        laruence Xinchen Hui added a comment - yes, it should. sorry for missed that. I will work on it soon.. thanks
        Hide
        ingenthr Matt Ingenthron added a comment -

        Mark: Please determine if this issue is still valid and help me triage it into the appropriate release. I've assigned it to you for triage, not necessarily to fix it.

        Show
        ingenthr Matt Ingenthron added a comment - Mark: Please determine if this issue is still valid and help me triage it into the appropriate release. I've assigned it to you for triage, not necessarily to fix it.
        Hide
        mnunberg Mark Nunberg added a comment -

        This is either fixed or not reproducible. Connections are non-persistent by default unless otherwise specified.

        Show
        mnunberg Mark Nunberg added a comment - This is either fixed or not reproducible. Connections are non-persistent by default unless otherwise specified.

          People

          • Assignee:
            mnunberg Mark Nunberg
            Reporter:
            jan Jan Lehnardt (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes