<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Wed Jun 19 16:45:03 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/PCBC-190/PCBC-190.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[PCBC-190] Need documentation on timeouts available for PHP</title>
                <link>http://www.couchbase.com/issues/browse/PCBC-190</link>
                <project id="10049" key="PCBC">Couchbase PHP client library</project>
                        <description>This link: &lt;a href=&quot;http://www.couchbase.com/docs/couchbase-devguide-1.8/about-client-timeouts.html,&quot;&gt;http://www.couchbase.com/docs/couchbase-devguide-1.8/about-client-timeouts.html,&lt;/a&gt; states that there aren&amp;#39;t any timeouts available for PHP&lt;br/&gt;
&lt;br/&gt;
The PHP docs don&amp;#39;t describe any.&lt;br/&gt;
&lt;br/&gt;
However, I know that the underlying libcouchbase exposes at least one basic request timeout setting so either the PHP library needs some help exposing that, or it already does and we need to document it.</description>
                <environment></environment>
            <key id="22042">PCBC-190</key>
            <summary>Need documentation on timeouts available for PHP</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Tue, 29 Jan 2013 08:30:02 -0600</created>
                <updated>Tue, 16 Apr 2013 05:11:22 -0500</updated>
                                    <version>1.1.2</version>
                                                <component>docs</component>
                <component>library</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="55108" author="ingenthr" created="Mon, 15 Apr 2013 23:55:02 -0500"  >Trond: Could you please review the existing documentation, recommend where we should put this information, then write up a draft and assign it back to me?  Then I can review and get it over to Karen.&lt;br/&gt;
&lt;br/&gt;
Let&amp;#39;s try to do this one very soon. </comment>
                    <comment id="55127" author="trond" created="Tue, 16 Apr 2013 04:08:18 -0500"  >&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/**&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* Retrieve the current operation timeout.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* @return integer The currently used timeout specified in usec&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;function getTimeout() {&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/**&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* Specify an operation timeout.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* The operation timeout is the time it takes from the command is sent&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* to the cluster and the result should be returned back.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* @param integer $timeout the new operation timeout specified in usec&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;function setTimeout($timeout) {&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
The keyDurability methods have a timeout parameter, and the view have the connection_timeout parameter one may set.&lt;br/&gt;
</comment>
                    <comment id="55133" author="perry" created="Tue, 16 Apr 2013 05:11:22 -0500"  >Thanks Trond.  A few more questions:&lt;br/&gt;
&lt;br/&gt;
-This bug was specifically requested for PHP...can you provide documentation on how to exercise those timeouts through PHP?&lt;br/&gt;
-And is there a separate timeout associated with the initial connection to 8091?  &lt;br/&gt;
-Is there any logic/handling of a case where the comet stream becomes un responsive but is not actually reset?</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9761</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>