Permalink
Browse files

readme update

  • Loading branch information...
1 parent 2f5b223 commit 0a146b8b330070af61541f417f2252c571d7a96b @SergejJurecko committed Nov 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rdoc
View
@@ -31,7 +31,7 @@ mongodb:masterSlave/3
mongodb:connect/1
mongodb:sharded/2
-Connection info is saved in an application variable (erlmongo,connections) and updated with every call to: singleServer, masterSlave, replicaPairs, masterMaster, replicaSets, and deleteConnection. If mongodb process crashes for some reason, connections will be restarted. Also if the application itself is stopped and started. You can add a connections variable to erlmongo.app file:
+Connection info is saved in an application variable (erlmongo,connections) and updated with every call to: singleServer, masterSlave, replicaPairs, masterMaster, replicaSets, sharded and deleteConnection. If mongodb process crashes for some reason, connections will be restarted. Also if the application itself is stopped and started. You can add a connections variable to erlmongo.app file:
% def is name of connection, types can be: masterSlave,masterMaster or replicaPairs. This is how singleServer info is saved:
{env, [{def,{masterSlave,{"localhost",27017},{"localhost",27017}}}]},

0 comments on commit 0a146b8

Please sign in to comment.