Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-2628

Change away from using SELECT when open socket

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Blocker
    • 3.0
    • 3.0
    • LiteCore
    • Security Level: Public
    • None

    Description

      When using SELECT, there is a max of 1024 file descriptor limit. For the Flutter app which each plugin tends to use a lot of file descriptors, it is easy to reach the limit.

      From a discussion in a meeting, Jim Borden commented that the reason that we are using SELECT instead of POLL is that the POLL doesn't work on Windows. Also we are using socketpp 3rd library which is using SELECT. 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jimb Jim Borden
            jimb Jim Borden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty