Chapter 4: Resiliency Ticket: Connection Pooling

We are writing maxPoolSize=50 in properties file.Has anyone passed the tests?

@Dmitriy_52646 it is mongo’s property not spring’s, so be careful where you write it

1 Like

please go through with this link, you have to append maxPoolSize to your mongodb connection url.

http://mongodb.github.io/mongo-java-driver/3.6/javadoc/com/mongodb/ConnectionString.html

Hope this helps…!!!

I had the same problem. In AbstractMFlixDao.getConfiguration() a configuration-record is made. The list of authenticated users is processed and if it is empty, the configuration-record will not be filled. And that was the case in my environment because I had unautharized access.

I solved the problem to place the configuration.add-statements outside the if-statement (except for the role).

1 Like