From 4b280b4c5c3e71f96c2f0226bdb0f4cbc2eadef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Sat, 6 Sep 2025 22:00:00 +0800 Subject: [PATCH] Forgot session also has a ttl --- api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.js b/api.js index 569bbf4..40ea352 100644 --- a/api.js +++ b/api.js @@ -132,7 +132,7 @@ BotanJS.prototype.compile = function( type ) Dragonfly.Debug( "Storing " + _trim( ch ) + " to fastcache[ " + fastCache.id + " ]" ); - fastCache.spawn( 10 ); + fastCache.spawn( 86400 ); fastCache.set({ type: ch }); if( res.statusCode != 200 )