Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 1 commit
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 3 additions and 3 deletions.
  1. +1 −1  ebin/erlmc.app.in
  2. +2 −2 src/erlmc.erl
2  ebin/erlmc.app.in
View
@@ -7,7 +7,7 @@ cat > ebin/erlmc.app << EOF
{application, erlmc,
[{description, "Erlang binary protocol memcached client"},
{vsn, "${VERSION}"},
- {modules, [erlmc]},
+ {modules, [erlmc,erlmc_conn]},
{registered, []},
{applications, [kernel, stdlib]}
]}.
4 src/erlmc.erl
View
@@ -28,7 +28,7 @@
-export([start/0, start/1, start_link/0, start_link/1, init/2,
add_server/3, remove_server/2, refresh_server/3, has_server/2,
- add_connection/2, remove_connection/2]).
+ add_connection/2, remove_connection/2,loop/0]).
%% api callbacks
-export([get/1, get_many/1, add/2, add/3, set/2, set/3,
@@ -242,7 +242,7 @@ loop() ->
ok
end
end,
- loop().
+ ?MODULE:loop().
start_connection(Host, Port) ->
case erlmc_conn:start_link([Host, Port]) of

No commit comments for this range

Something went wrong with that request. Please try again.