summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Doane <jaydoane@apache.org>2020-01-28 19:06:07 -0800
committerJay Doane <jaydoane@apache.org>2020-01-28 19:06:07 -0800
commitb6c8a213d761e2149c22739089250e91cab4ad47 (patch)
treeb5d205478bf946984c05a5a818b72fec3dab2f3a
parent34be5dd8a6c67c9c8faeae72a46809a836fdbade (diff)
downloadcouchdb-expiring-cache-cleanup.tar.gz
Delete unused ets table creationexpiring-cache-cleanup
This ets table was a holdover from when couch_expiring_cache was a non- library OTP application. It is unused, and would prevent multiple users of the library in the same project.
-rw-r--r--src/couch_expiring_cache/src/couch_expiring_cache_server.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/couch_expiring_cache/src/couch_expiring_cache_server.erl b/src/couch_expiring_cache/src/couch_expiring_cache_server.erl
index 6f9dc1fd1..65e742bba 100644
--- a/src/couch_expiring_cache/src/couch_expiring_cache_server.erl
+++ b/src/couch_expiring_cache/src/couch_expiring_cache_server.erl
@@ -43,7 +43,6 @@ start_link(Name, Opts) when is_atom(Name) ->
init(Opts) ->
- ?MODULE = ets:new(?MODULE, [named_table, public, {read_concurrency, true}]),
DefaultCacheName = atom_to_binary(maps:get(name, Opts), utf8),
Period = maps:get(period, Opts, ?DEFAULT_PERIOD_MSEC),
MaxJitter = maps:get(max_jitter, Opts, ?DEFAULT_MAX_JITTER_MSEC),