<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38:06 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-884] Connection and Socket Timeout</title>
                <link>https://jira.mongodb.org/browse/CSHARP-884</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;What is the default connection and socket timeout when using this C# driver and these options not stated in connection string. Doc says to refer to driver doc, if there is. I coulndt find any mention of a timeout. Also, can you provide the correct syntax of connection string consisting of a replica set that states the connection timeout and socket timeout? Are these timeouts specified in milliseconds?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</description>
                <environment></environment>
        <key id="104053">CSHARP-884</key>
            <summary>Connection and Socket Timeout</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="joetherod">joseph rodriguez</reporter>
                        <labels>
                            <label>question</label>
                    </labels>
                <created>Thu, 2 Jan 2014 00:12:55 +0000</created>
                <updated>Fri, 5 Apr 2019 13:59:22 +0000</updated>
                            <resolved>Thu, 2 Jan 2014 16:42:52 +0000</resolved>
                                    <version>1.8.3</version>
                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="476461" author="joetherod" created="Thu, 2 Jan 2014 16:42:00 +0000"  >&lt;p&gt;Thanks Craig, I&apos;ll refer to the forum next time. Didnt really get a clear answer on stack overflow.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;/p&gt;</comment>
                            <comment id="476417" author="craiggwilson" created="Thu, 2 Jan 2014 14:49:30 +0000"  >&lt;p&gt;Hi Joseph,&lt;br/&gt;
  Jira is normally used for feature requests and bugs.  We have a users group that can be used for questions here: &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;https://groups.google.com/forum/#!forum/mongodb-user&lt;/a&gt;.  Also, stackoverflow is a great place for questions.&lt;/p&gt;

&lt;p&gt;  Now, as far as your questions are concerned.  The default socket timeout is whatever the OS&apos;s default is.  In windows, this value is inifinite.  The default connection timeout is 30 seconds.  If you&apos;d like to specify them, the documentation is here: &lt;a href=&quot;http://docs.mongodb.org/manual/reference/connection-string/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://docs.mongodb.org/manual/reference/connection-string/&lt;/a&gt;.  An example as your requested is below where we are setting the socket and connection timeouts to 10 seconds each.&lt;/p&gt;

&lt;p&gt;mongodb://host1,host2/?connect=replicaset;socketTimeoutMS=10000;connectTimeoutMS=10000&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|hrv2lr:</customfieldvalue>

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