Commit ded3ea29 authored by nanahira's avatar nanahira

dont register queue interval for readonly route

parent 49cf0206
......@@ -165,6 +165,9 @@ export class MessageService extends ConsoleLogger {
}
registerRouteTaskInterval(route: Route) {
if (route.readonly) {
return;
}
setInterval(
() => this.resolveSendTaskOfRoute(route),
route.rateLimitInterval,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment