<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38:29 UTC 2024

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 append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CSHARP-1027] Is there a way to set the timeout on a mongo cursor?</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1027</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Is there a way to set the timeout on a mongo cursor?&lt;/p&gt;

&lt;p&gt;I&apos;m aware of the following function, but would like some more granularity between 10 minutes and off.&lt;br/&gt;
SetFlags(QueryFlags.NoCursorTimeout)&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Christian&lt;/p&gt;</description>
                <environment></environment>
        <key id="151143">CSHARP-1027</key>
            <summary>Is there a way to set the timeout on a mongo cursor?</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="CMartinsen">Christian Martinsen [X]</reporter>
                        <labels>
                            <label>question</label>
                    </labels>
                <created>Wed, 6 Aug 2014 18:48:57 +0000</created>
                <updated>Fri, 5 Apr 2019 13:57:46 +0000</updated>
                            <resolved>Mon, 22 Sep 2014 19:56:56 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="724424" author="rstam" created="Mon, 22 Sep 2014 19:56:47 +0000"  >&lt;p&gt;The only options for cursor timeout are either NO timeout or 10 minutes.&lt;/p&gt;

&lt;p&gt;The server doesn&apos;t provide any way to set a different value, so none of the drivers is able to either.&lt;/p&gt;</comment>
                            <comment id="683398" author="craiggwilson" created="Thu, 7 Aug 2014 00:17:19 +0000"  >&lt;p&gt;Hi Christian,&lt;/p&gt;

&lt;p&gt;Normally we reserve Jira for feature requests or bug reports as opposed to questions. Stackoverflow our &lt;a href=&quot;https://groups.google.com/forum/#!forum/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb user group&lt;/a&gt; are great places to ask questions.&lt;/p&gt;

&lt;p&gt;To answer it, no, there is no granularity in that regard, as it is a server setting. However, if you are using server 2.6, then you can use SetMaxTime(...) to timeout the query itself. Not sure exactly what you are after.&lt;/p&gt;

&lt;p&gt;Craig&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs1567:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>131171</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>