rewrite admin handler to use loole channels

This commit is contained in:
iraizo 2024-04-06 15:13:16 +02:00
parent 2516d44cb1
commit ddb3b1a2bb
No known key found for this signature in database
GPG key ID: 12A9EF3A7EA88D6C
3 changed files with 85 additions and 60 deletions

7
Cargo.lock generated
View file

@ -484,6 +484,7 @@ dependencies = [
"itertools 0.12.1",
"jsonwebtoken",
"log",
"loole",
"lru-cache",
"nix",
"num_cpus",
@ -1473,6 +1474,12 @@ version = "0.4.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
[[package]]
name = "loole"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6725f0feab07fcf90f6de5417c06d7fef976fa6e5912fa9e21cb5e4dc6ae5da"
[[package]]
name = "lru-cache"
version = "0.1.2"