Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1285

Is there a way to set a timout for CRUD? Or just Query Select?

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.0
    • API, Operations
    • win7 64bit,vs2012

    Description

      Thanks for your reading.
      Such as title.

      Is there a way to set a timout for CRUD? Or just Query Select?
      I set all the timeout in MongoServerSetting class cause I want a timout when
      CRUD operations too long to take so many memory.
      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't worked.
      If I don't like to set webrequestion timeout ,How to set timeout?

      Attachments

        Activity

          People

            craig.wilson@mongodb.com Craig Wilson
            blk001 blk001
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: