🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🐛 fix(auth): enable db fallback for secondary-storage sessions (#12548)
YuTengjingdc26f23ea07a
diff --git a/src/libs/better-auth/define-config.ts b/src/libs/better-auth/define-config.tsindex 80c9b2e57c2..34ff55ff45e 100644--- a/src/libs/better-auth/define-config.ts+++ b/src/libs/better-auth/define-config.ts@@ -170,6 +170,8 @@ export function defineConfig(customOptions: CustomBetterAuthOptions) {enabled: true,maxAge: 10 * 60, // Cache duration in seconds},+ // Keep a DB-backed fallback when Redis secondary storage entries are unexpectedly missing.+ storeSessionInDatabase: true,},database: drizzleAdapter(serverDB, {provider: 'pg',