Skip to content

Commit

Permalink
Merge pull request #107 from AO-StreetArt/dev
Browse files Browse the repository at this point in the history
Lazy Load Connections in DB Drivers
  • Loading branch information
AO-StreetArt committed Jan 21, 2018
2 parents 410bfe7 + 75b47be commit affa212
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aossl/mongo/include/mongo_admin.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class MongoConnectionPool {
AOSSL::SlotPool *slot_pool = NULL;
// Internal integers
int connection_limit = 1;
int start_connections = 1;
int start_connections = 0;
int current_max_connection = 1;
int connection_creation_batch = 1;
std::string connection_string;
Expand Down
2 changes: 1 addition & 1 deletion aossl/neo4j/include/neo4j_connection_pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Neo4jConnectionPool {
AOSSL::SlotPool *slot_pool = NULL;
// Internal integers
int connection_limit = 1;
int start_connections = 1;
int start_connections = 0;
int current_connection = -1;
int current_max_connection = 1;
int connection_creation_batch = 1;
Expand Down
2 changes: 1 addition & 1 deletion aossl/redis/include/redis_admin.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class RedisConnectionPool {
AOSSL::SlotPool *slot_pool = NULL;
// Internal integers
int connection_limit = 1;
int start_connections = 1;
int start_connections = 0;
int current_connection = -1;
int current_max_connection = 1;
int connection_creation_batch = 1;
Expand Down

0 comments on commit affa212

Please sign in to comment.