Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions gateway/http.d/init.conf
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,3 @@ init_worker_by_lua_block {

require('apicast.executor'):init_worker()
}

lua_shared_dict init 256k;
2 changes: 0 additions & 2 deletions gateway/http.d/shdict.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
lua_shared_dict api_keys 30m;
lua_shared_dict rate_limit_headers 20m;
lua_shared_dict configuration 10m;
lua_shared_dict locks 1m;
lua_shared_dict limiter 1m;

# This shared dictionaries are only used in the 3scale batcher policy.
Expand Down
6 changes: 0 additions & 6 deletions t/prometheus-metrics.t
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ openresty_shdict_capacity{dict="api_keys"} 31457280
openresty_shdict_capacity{dict="batched_reports"} 20971520
openresty_shdict_capacity{dict="batched_reports_locks"} 1048576
openresty_shdict_capacity{dict="cached_auths"} 20971520
openresty_shdict_capacity{dict="configuration"} 10485760
openresty_shdict_capacity{dict="init"} 262144
openresty_shdict_capacity{dict="limiter"} 1048576
openresty_shdict_capacity{dict="locks"} 1048576
openresty_shdict_capacity{dict="prometheus_metrics"} 16777216
openresty_shdict_capacity{dict="rate_limit_headers"} 20971520
# HELP openresty_shdict_free_space OpenResty shared dictionary free space
Expand All @@ -48,10 +45,7 @@ openresty_shdict_free_space{dict="api_keys"} 31264768
openresty_shdict_free_space{dict="batched_reports"} 20840448
openresty_shdict_free_space{dict="batched_reports_locks"} 1032192
openresty_shdict_free_space{dict="cached_auths"} 20840448
openresty_shdict_free_space{dict="configuration"} 10412032
openresty_shdict_free_space{dict="init"} 249856
openresty_shdict_free_space{dict="limiter"} 1032192
openresty_shdict_free_space{dict="locks"} 1032192
openresty_shdict_free_space{dict="prometheus_metrics"} 16662528
openresty_shdict_free_space{dict="rate_limit_headers"} 20840448
# HELP worker_process Number of times that a nginx worker has been started
Expand Down