diff --git a/webui-react/src/primitives/page/Page.tsx b/webui-react/src/primitives/page/Page.tsx index d295579..880295d 100644 --- a/webui-react/src/primitives/page/Page.tsx +++ b/webui-react/src/primitives/page/Page.tsx @@ -11,7 +11,7 @@ interface PageProps extends WithChildren { function Page({title, background, children}: PageProps) { useLayoutEffect(() => { - document.title = title ? `${title} - Green` : "Green"; + document.title = title ? `${title} - YKonsole` : "YKonsole"; }, [title]); let cls = "Page"; diff --git a/ykonsole-mysql/src/main/kotlin/net/aiterp/git/ykonsole2/infrastructure/DataSource.kt b/ykonsole-mysql/src/main/kotlin/net/aiterp/git/ykonsole2/infrastructure/DataSource.kt index 351e34e..d166a18 100644 --- a/ykonsole-mysql/src/main/kotlin/net/aiterp/git/ykonsole2/infrastructure/DataSource.kt +++ b/ykonsole-mysql/src/main/kotlin/net/aiterp/git/ykonsole2/infrastructure/DataSource.kt @@ -26,7 +26,7 @@ fun makeDataSource( cfg.password = password cfg.poolName = "ykonsole2-pool-${randomId()}" cfg.maximumPoolSize = poolSize - cfg.maxLifetime = 5.minutes.inWholeMilliseconds + cfg.maxLifetime = 1.minutes.inWholeMilliseconds if (driverClassName != null) { cfg.driverClassName = driverClassName