keithdv opened a new issue, #14336:
URL: https://github.com/apache/grails-core/issues/14336

   Are the options in 'grails.mongodb.options' still supported as described in 
this [link](https://gorm.grails.org/latest/mongodb/manual/#advancedConfig). 
Whatever I set doesn't seem to have an effect?
   
   I also noticed this for writeConcern in the documentation, even though it 
will [fail](https://docs.grails.org/5.0.1/guide/conf.html) (See 
runtime.groovy). 
                writeConcern = new com.mongodb.WriteConcern(0, 0, false)
   
   Nothing I do in the 'options' set seems to have an effect. Is this still 
supported?
   
   For Instance, I would expect timeout failures connection to the cloud with 
this but it succeeds:
   
   application.yml
   grails:
       mongodb:
           options:
               socketTimeout: 1
               connectTimeout: 1
               ssEnabled: false
   
   application.groovy:
   
   grails {
        mongodb {
                options {
                        socketTimeout = 1
                        connectTimeout = 1
                        ssEnabled = false
                }
        }
   }
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to