Skip to content

Commit

Permalink
max_connections -> maxConnections
Browse files Browse the repository at this point in the history
  • Loading branch information
denizzzka committed Apr 13, 2018
1 parent 92d7417 commit fb098d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mongodb/vibe/db/mongo/client.d
Expand Up @@ -64,7 +64,7 @@ final class MongoClient {
ret.connect();
return ret;
},
settings.max_connections
settings.maxConnections
);

// force a connection to cause an exception for wrong URLs
Expand All @@ -78,7 +78,7 @@ final class MongoClient {
ret.connect();
return ret;
},
settings.max_connections
settings.maxConnections
);

// force a connection to cause an exception for wrong URLs
Expand Down
2 changes: 1 addition & 1 deletion mongodb/vibe/db/mongo/settings.d
Expand Up @@ -321,7 +321,7 @@ class MongoClientSettings

string username;
string digest;
uint max_connections = uint.max;
uint maxConnections = uint.max;
MongoHost[] hosts;
string database;
QueryFlags defQueryFlags = QueryFlags.None;
Expand Down

0 comments on commit fb098d5

Please sign in to comment.