feat(admin): Add resolver cache flush command

This command allows an admin to flush a specific server
from the resolver caches or flush the whole cache.
This commit is contained in:
Omar Pakker 2026-02-10 15:39:15 +01:00
parent a2bf0c1223
commit 077bda23a6
2 changed files with 38 additions and 1 deletions

View file

@ -112,6 +112,19 @@ Query the destinations cache
Query the overrides cache
### `!admin query resolver flush-cache`
Flush a given server from the resolver caches or flush them completely
* Examples:
* Flush a specific server:
`!admin query resolver flush-cache matrix.example.com`
* Flush all resolver caches completely:
`!admin query resolver flush-cache --all`
## `!admin query pusher`
pusher service