Add cache test for admins (#31265)

Add a test to probe the cache similar to the email test func.

![image](700e2733-586d-4091-900f-f5f71e6e94bf)

![image](2a953802-18fc-4e81-a37d-24ebe1297365)

![image](e00d62ad-bb60-41cc-9138-09993daee156)

---------

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: silverwind <me@silverwind.io>
(cherry picked from commit 363c1235987793dffa5cc851aaae585eb81f091e)

Conflicts:
	options/locale/locale_en-US.ini
	templates/admin/self_check.tmpl
	trivial context conflict
This commit is contained in:
6543 2024-06-17 21:22:39 +02:00 committed by Earl Warren
parent 40cd885c11
commit 77da92f42a
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
8 changed files with 93 additions and 2 deletions

View file

@ -93,6 +93,7 @@ remove_all = Remove all
remove_label_str = Remove item "%s"
edit = Edit
view = View
test = Test
enabled = Enabled
disabled = Disabled
@ -3317,6 +3318,11 @@ config.cache_interval = Cache interval
config.cache_conn = Cache connection
config.cache_item_ttl = Cache item TTL
config.cache_test = Test Cache
config.cache_test_failed = Failed to probe the cache: %v.
config.cache_test_slow = Cache test successful, but response is slow: %s.
config.cache_test_succeeded = Cache test successful, got a response in %s.
config.session_config = Session configuration
config.session_provider = Session provider
config.provider_config = Provider config