Skip to content

Commit 7c28017

Browse files
committed
doc: documented the minimum size threshold in lua_shared_dict. thanks mlr3000 for the original patch in openresty#616.
1 parent 3e086ed commit 7c28017

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2265,6 +2265,9 @@ The `<size>` argument accepts size units such as `k` and `m`:
22652265
}
22662266
```
22672267

2268+
The hard-coded minimum size is 8KB while the practical minimum size depends
2269+
on actual user data set (some people start with 12KB).
2270+
22682271
See [ngx.shared.DICT](#ngxshareddict) for details.
22692272

22702273
This directive was first introduced in the `v0.3.1rc22` release.

doc/HttpLuaModule.wiki

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1897,6 +1897,9 @@ The <code><size></code> argument accepts size units such as <code>k</code> and <
18971897
}
18981898
</geshi>
18991899
1900+
The hard-coded minimum size is 8KB while the practical minimum size depends
1901+
on actual user data set (some people start with 12KB).
1902+
19001903
See [[#ngx.shared.DICT|ngx.shared.DICT]] for details.
19011904
19021905
This directive was first introduced in the <code>v0.3.1rc22</code> release.

0 commit comments

Comments
 (0)