From cf860609fed4cfe84d3595fc63337a1c3789a0bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=20=D0=A1?= =?UTF-8?q?=D0=BE=D0=BB=D0=B5=D0=BD=D0=BA=D0=BE=D0=B2?= Date: Sun, 8 Nov 2020 03:23:15 +0300 Subject: [PATCH] fix dependence 'erlmc' in 'rebar.config' and 'rebar.config.script' --- rebar.config | 2 +- rebar.config.script | 2 +- src/cache_adapters/boss_cache_adapter_memcached_bin.erl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rebar.config b/rebar.config index 48eb3193..7480cbea 100644 --- a/rebar.config +++ b/rebar.config @@ -28,7 +28,7 @@ {ddb, {git, "https://github.com/ErlyORM/ddb.git", {tag, "v0.1.7"}}}, {epgsql, {git, "https://github.com/epgsql/epgsql.git", {tag, "4.2.0"}}}, - {erlmc, {git, "https://github.com/layerhq/erlmc.git", {ref, "c5280da"}}}, + {erlmc, {git, "https://github.com/bipthelin/erlmc.git", {tag, "3062f8deb7ce0540dc85e5e791f146f0a8d7058d"}}}, {mysql, {git, "https://github.com/ErlyORM/erlang-mysql-driver.git", {tag, "v0.0.4"}}}, {poolboy, {git, "https://github.com/devinus/poolboy.git", {tag, "1.5.2"}}}, {uuid, {git, "https://github.com/avtobiff/erlang-uuid.git", {tag, "v0.5.2"}}}, diff --git a/rebar.config.script b/rebar.config.script index bfc2c94b..9bb23862 100644 --- a/rebar.config.script +++ b/rebar.config.script @@ -25,7 +25,7 @@ case erlang:function_exported(rebar3, main, 1) of {ddb, ".*", {git, "https://github.com/ErlyORM/ddb.git", {tag, "v0.1.7"}}}, {epgsql, ".*", {git, "https://github.com/epgsql/epgsql.git", {tag, "4.2.0"}}}, - {erlmc, ".*", {git, "https://github.com/layerhq/erlmc.git", {tag, "c5280da"}}}, + {erlmc, ".*", {git, "https://github.com/bipthelin/erlmc.git", {tag, "3062f8deb7ce0540dc85e5e791f146f0a8d7058d"}}}, {mysql, ".*", {git, "https://github.com/ErlyORM/erlang-mysql-driver.git", {tag, "v0.0.4"}}}, {poolboy, ".*", {git, "https://github.com/devinus/poolboy.git", {tag, "1.5.2"}}}, {uuid, ".*", {git, "https://github.com/avtobiff/erlang-uuid.git", {tag, "v0.5.2"}}}, diff --git a/src/cache_adapters/boss_cache_adapter_memcached_bin.erl b/src/cache_adapters/boss_cache_adapter_memcached_bin.erl index 1611a302..6624b8db 100644 --- a/src/cache_adapters/boss_cache_adapter_memcached_bin.erl +++ b/src/cache_adapters/boss_cache_adapter_memcached_bin.erl @@ -32,7 +32,7 @@ get(_Conn, Prefix, Key) -> end. set(_Conn, Prefix, Key, Val, TTL) -> - erlmc:set(term_to_key(Prefix, Key), term_to_binary(Val), TTL, 5000). + erlmc:set(term_to_key(Prefix, Key), term_to_binary(Val), TTL). delete(_Conn, Prefix, Key) -> erlmc:delete(term_to_key(Prefix, Key)).