From bc21b4adaf49d097830c5ae45b3249eba00d4833 Mon Sep 17 00:00:00 2001 From: Feng Date: Thu, 21 Jan 2016 10:27:04 +0800 Subject: [PATCH] round_robin --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6540d8fca..f05e4ca02 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ecpool tries to avoid the erlang application crash when the server or database g ## Overview -A pool worker to manage and monitor the client to server or database: +A pool worker to manage/monitor the client to server or database: ``` PoolWorker -> Client -> DB @@ -33,10 +33,11 @@ For example: ``` PgOpts = [%% Pool Size {pool_size, 10}, - %% Pool Type: random | hash | round_robin - {pool_type, random}, + %% Pool Type: round_robin | random | hash + {pool_type, round_robin}, %% Auto reconnect {auto_reconnect, 3}, + %% epgsql opts {host, "localhost"}, {port, 5432},