Browse Source

Remove unused props_to_pool function

Functionality moved to pooler_config module
Seth Falcon 12 years ago
parent
commit
48ab776d06
1 changed files with 0 additions and 10 deletions
  1. 0 10
      src/pooler.erl

+ 0 - 10
src/pooler.erl

@@ -179,16 +179,6 @@ code_change(_OldVsn, State, _Extra) ->
 %% Internal Function Definitions
 %% ------------------------------------------------------------------
 
--spec props_to_pool([{atom(), term()}]) -> #pool{}.
-props_to_pool(P) ->
-    #pool{      name = ?gv(name, P),
-           max_count = ?gv(max_count, P),
-          init_count = ?gv(init_count, P),
-           start_mfa = ?gv(start_mfa, P),
-    add_member_retry = ?gv(add_member_retry, P, ?DEFAULT_ADD_RETRY),
-       cull_interval = ?gv(cull_interval, P, ?DEFAULT_CULL_INTERVAL),
-             max_age = ?gv(max_age, P, ?DEFAULT_MAX_AGE)}.
-
 % FIXME: creation of new pids should probably happen
 % in a spawned process to avoid tying up the loop.
 -spec add_pids(non_neg_integer(), #pool{}) ->