mirror of
https://github.com/tale/headplane.git
synced 2026-08-30 00:47:17 +00:00
chore: update auth-service to not be class based
This commit is contained in:
+1
-7
@@ -164,13 +164,7 @@ export default createHonoServer({
|
||||
},
|
||||
});
|
||||
|
||||
// Prune expired auth sessions every 15 minutes
|
||||
setInterval(
|
||||
() => {
|
||||
appLoadContext.auth.pruneExpiredSessions();
|
||||
},
|
||||
15 * 60 * 1000,
|
||||
);
|
||||
appLoadContext.auth.start();
|
||||
|
||||
process.on("SIGINT", () => {
|
||||
log.info("server", "Received SIGINT, shutting down...");
|
||||
|
||||
Reference in New Issue
Block a user