diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-05-23 12:29:47 +0500 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-05-23 12:29:47 +0500 |
| commit | 4531848dda1fe558c2e1e5d08f267b74ffd7d955 (patch) | |
| tree | dc5db3a153baaff8a995710972b1dd3961216d76 | |
| parent | f6fd6702d1442b74096057d7538d0dbec954bf21 (diff) | |
bot: Update cache options description
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
| -rw-r--r-- | README.md | 10 | ||||
| -rwxr-xr-x | bot.zsh | 10 |
2 files changed, 10 insertions, 10 deletions
@@ -65,8 +65,8 @@ Options: -l Use local Telegram Bot API, address: 127.0.0.1:8081 -r <num> Inline results limit, max: 50, default: 10 -g <num> Shortcuts storage limit, max: 10000, default: 100 - -m <mode> Caching mode, default: normal - -t <secs> Caching time, max: 1000, default: 300 secs + -m <mode> Cache mode, default: normal + -t <secs> Cache time, max: 1000, default: 300 secs -s <secs> Sleeping time, max: 100, default: 10 secs -c Clear cache automatically -j Use threaded MD5 hash lookup @@ -78,9 +78,9 @@ Options: -n <addr> Proxy server for Telegram Bot API -x <addr> Proxy server for Image Boards API -Caching modes: - none No caching - normal Cache inline results and posts +Cache modes: + none No cache reuse + normal Reuse inline results and posts cache advanced Extract posts cache from inline results ``` @@ -109,8 +109,8 @@ then "\n -l\t\tUse local Telegram Bot API, address: 127.0.0.1:8081" \ "\n -r <num>\tInline results limit, max: 50, default: 10" \ "\n -g <num>\tShortcuts storage limit, max: 10000, default: 100" \ - "\n -m <mode>\tCaching mode, default: normal" \ - "\n -t <secs>\tCaching time, max: 1000, default: 300 secs" \ + "\n -m <mode>\tCache mode, default: normal" \ + "\n -t <secs>\tCache time, max: 1000, default: 300 secs" \ "\n -s <secs>\tSleeping time, max: 100, default: 10 secs" \ "\n -c\t\tClear cache automatically" \ "\n -j\t\tUse threaded MD5 hash lookup" \ @@ -121,9 +121,9 @@ then "\n -d <secs>\tHead request connetion timeout, max: 10, default: 2 secs" \ "\n -n <addr>\tProxy server for Telegram Bot API" \ "\n -x <addr>\tProxy server for Image Boards API" \ - "\n\nCaching modes:" \ - "\n none\t\tNo caching" \ - "\n normal\tCache inline results and posts" \ + "\n\nCache modes:" \ + "\n none\t\tNo cache reuse" \ + "\n normal\tReuse inline results and posts cache" \ "\n advanced\tExtract posts cache from inline results" \ "\n\nSupported Image Boards:" \ "\n Safebooru\t\t(https://safebooru.donmai.us/)" \ |
