commit cf25940c53d789b2227d59a1492a86ae26d94669
parent e322a93e61c31bd0ea31b0c13d0e85767733d055
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date: Wed, 9 Oct 2024 14:39:32 -0700
Fix keep_authorized interval
For testing I set it to one second and forgot to lengthen it again.
It was 30 seconds before and now it's 60.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/files/lib/etc.js b/files/lib/etc.js
@@ -79,7 +79,7 @@ function keep_authorized() {
console.log("keep_authorized", "refreshing", left, "minutes left")
api.refresh_token()
}
- }, 1000)
+ }, 1000 * 60)
}
export function error(message, on) {