Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

readme update

  • Loading branch information...
commit 0a146b8b330070af61541f417f2252c571d7a96b 1 parent 2f5b223
Sergej Jurečko authored November 30, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  README.rdoc
2  README.rdoc
Source Rendered
@@ -31,7 +31,7 @@ mongodb:masterSlave/3
31 31
 mongodb:connect/1
32 32
 mongodb:sharded/2
33 33
 
34  
-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:
  34
+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:
35 35
   % def is name of connection, types can be: masterSlave,masterMaster or replicaPairs. This is how singleServer info is saved:
36 36
   {env, [{def,{masterSlave,{"localhost",27017},{"localhost",27017}}}]},
37 37
 

0 notes on commit 0a146b8

Please sign in to comment.
Something went wrong with that request. Please try again.