<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:39:10 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-1285] Is there a way to set a timout for CRUD? Or just Query Select?</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1285</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Thanks for your reading.&lt;br/&gt;
Such as title.&lt;/p&gt;

&lt;p&gt;Is there a way to set a timout for CRUD? Or just Query Select?&lt;br/&gt;
I set all the timeout in MongoServerSetting class cause I want a timout when&lt;br/&gt;
CRUD operations too long to take so many memory.&lt;br/&gt;
And I also try to use SetMaxTime() to findas a Tdocument,Then I set timeSpan in 10ms,It worked.But when timeSpan greater than 20ms,didn&apos;t worked.&lt;br/&gt;
If I don&apos;t like to set webrequestion timeout ,How to set timeout?&lt;/p&gt;</description>
                <environment>win7 64bit,vs2012</environment>
        <key id="204757">CSHARP-1285</key>
            <summary>Is there a way to set a timout for CRUD? Or just Query Select?</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="craig.wilson@mongodb.com">Craig Wilson</assignee>
                                    <reporter username="blk001">blk001</reporter>
                        <labels>
                            <label>question</label>
                    </labels>
                <created>Mon, 18 May 2015 07:20:04 +0000</created>
                <updated>Fri, 5 Apr 2019 13:58:01 +0000</updated>
                            <resolved>Wed, 17 Jun 2015 13:56:51 +0000</resolved>
                                    <version>2.0</version>
                                                    <component>API</component>
                    <component>Operations</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="921542" author="craiggwilson" created="Fri, 22 May 2015 13:12:48 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=blk001&quot; class=&quot;user-hover&quot; rel=&quot;blk001&quot;&gt;blk001&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;How long do your queries take? Are all your servers available?&lt;/p&gt;

&lt;p&gt;SetMaxTime only applies to to portion executed by the server. As it sounds like you are using the legacy API (by your reference to MongoServerSettings), there is not way to set an overall timeout for the client. We also have another setting coming in 2.1 called ServerSelectionTimeout which applies to a certain portion of the client-side work dealing with selecting a server.&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|hs9fkn:</customfieldvalue>

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