[CDRIVER-809] Default pool size parameters are "inconvenient" to say the least Created: 17/Aug/15 Updated: 19/Oct/16 Resolved: 28/Aug/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | 1.2-beta0 |
| Fix Version/s: | 1.2-rc0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Jose Battig | Assignee: | Hannes Magnusson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
All |
||
| Description |
|
When creating connection pools using mongoc_client_pool_new() the default values for _mongoc_client_pool_t.min_pool_size is inconvenient. By default, its value is zero and it appears the only way to configure its value is by passing it on the uri. I think it will be way more convenient to let the developer of a specific component using mongodb to decide the pool and other pool object settings programatically rather than rely on they being passed on the uri. |
| Comments |
| Comment by Githook User [ 28/Aug/15 ] | ||
|
Author: {u'name': u'Manuel Schoenlaub', u'email': u'manuel.schoenlaub@skiline.cc'}Message: | ||
| Comment by Githook User [ 28/Aug/15 ] | ||
|
Author: {u'name': u'Manuel Schoenlaub', u'email': u'manuel.schoenlaub@skiline.cc'}Message: | ||
| Comment by Githook User [ 28/Aug/15 ] | ||
|
Author: {u'name': u'Manuel Schoenlaub', u'email': u'manuel.schoenlaub@skiline.cc'}Message: | ||
| Comment by Hannes Magnusson [ 25/Aug/15 ] | ||
| Comment by Hannes Magnusson [ 17/Aug/15 ] | ||
|
Makes sense to provide a programmatic way.
I'm not sure about changing the defaults. |