File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ private function getAllKeys(): array {
210210 $ time = time ();
211211
212212 foreach ($ this ->all_keys as $ key_data ) {
213- $ key = $ key_data ['key ' ] ?? $ key_data ;
213+ $ key = $ key_data ['key ' ];
214214
215215 if (stripos ($ key , $ search ) !== false ) {
216216 $ ttl = $ key_data ['exp ' ] ?? null ;
@@ -219,6 +219,7 @@ private function getAllKeys(): array {
219219 'key ' => $ key ,
220220 'items ' => [
221221 'link_title ' => $ key ,
222+ 'bytes_size ' => $ key_data ['size ' ],
222223 'timediff_last_access ' => $ key_data ['la ' ],
223224 'ttl ' => $ ttl === -1 ? 'Doesn \'t expire ' : $ ttl - $ time ,
224225 ],
Original file line number Diff line number Diff line change 1919{{ include (' partials/keys_table.twig' , {
2020 head_items : [
2121 {' title' : ' Key' },
22+ {' title' : ' Size' , ' class' : ' w-16' },
2223 {' title' : ' Last used' , ' class' : ' w-32' },
2324 {' title' : ' TTL' , ' class' : ' w-32' },
2425 ],
You can’t perform that action at this time.
0 commit comments