]> git.puffer.fish Git - matthieu/nova.git/commitdiff
fix component name for ratelimiter
authorMatthieuCoder <matthieu@matthieu-dev.xyz>
Mon, 2 Jan 2023 16:09:06 +0000 (20:09 +0400)
committerMatthieuCoder <matthieu@matthieu-dev.xyz>
Mon, 2 Jan 2023 16:09:06 +0000 (20:09 +0400)
exes/ratelimit/src/main.rs

index 8e43b34191eb55074c7d284e69b0b782e5aabeec..0ceded275f100a9987abf043bd96fca69fee0500 100644 (file)
@@ -15,7 +15,7 @@ mod redis_global_local_bucket_ratelimiter;
 struct RatelimiterServerComponent {}
 impl Component for RatelimiterServerComponent {
     type Config = ();
-    const SERVICE_NAME: &'static str = "rest";
+    const SERVICE_NAME: &'static str = "ratelimiter";
 
     fn start(
         &self,