summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Doane <jaydoane@apache.org>2020-01-28 19:06:07 -0800
committerPaul J. Davis <paul.joseph.davis@gmail.com>2020-03-02 12:26:22 -0600
commit2fb578df535e308e72b0b3d098b7ec330a403afb (patch)
tree91a97c275f0bad98143984934fc76815a2769c12
parent9785ea5bb18e6eba0791bc4857e99ce9a4f3ba40 (diff)
downloadcouchdb-2fb578df535e308e72b0b3d098b7ec330a403afb.tar.gz
Delete unused ets table creation
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),