Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4591

Error: Unsupported client option 'max_pool_size:

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 5.1.2
    • Component/s: None
    • None
    • Environment:
      Heroku cedar-14
      MongoDB 3.2.10 hosted on Compose
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      • We are using a valid option to control maximum pool size as per the docs mentioned here:
        staging:
          clients:
            default:
              uri: <%= ENV['MONGOHQ_URL'] %>
              options:
                # Our compose plan supports 10000 connections in total.
                # 5000x2.
                # See: https://help.compose.com/docs/connection-limits
                # Default mongoid setting is 5.
                # See: https://tinyurl.com/y8rutpsx
                max_pool_size:: 10
        
      • But everytime we start a new dyno (server process) and first query is fired to the db, we get this
        MONGODB | Unsupported client option 'max_pool_size:'. It will be ignored.
        
      • I checked mongo docs and it is supported too. Is there something we are doing wrong?

            Assignee:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            avellable Mahesh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None