diff options
author | Jay Doane <jaydoane@apache.org> | 2020-01-28 23:02:53 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 23:02:53 -0800 |
commit | d81356f957bf9d90fff4c6cc2b035b50ad7b59f6 (patch) | |
tree | b5d205478bf946984c05a5a818b72fec3dab2f3a | |
parent | 34be5dd8a6c67c9c8faeae72a46809a836fdbade (diff) | |
parent | b6c8a213d761e2149c22739089250e91cab4ad47 (diff) | |
download | couchdb-d81356f957bf9d90fff4c6cc2b035b50ad7b59f6.tar.gz |
Merge pull request #2499 from apache/expiring-cache-cleanup
Delete unused ets table creation
-rw-r--r-- | src/couch_expiring_cache/src/couch_expiring_cache_server.erl | 1 |
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), |