From f1db2ccbead07771678621ec97395ea926bd1831 Mon Sep 17 00:00:00 2001 From: Simon Lindh Date: Mon, 19 Aug 2019 10:31:14 +0300 Subject: [PATCH] Bugfix: setTimeout -> setInterval --- backend/src/routes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/routes.ts b/backend/src/routes.ts index 46aef6d8b..371240eca 100644 --- a/backend/src/routes.ts +++ b/backend/src/routes.ts @@ -7,7 +7,7 @@ class Routes { constructor() { this.createCache(); - setTimeout(this.createCache.bind(this), 600000); + setInterval(this.createCache.bind(this), 600000); } private async createCache() {