Green->YKonsole and shorter conn lifetimes
continuous-integration/drone/push Build is passing

This commit is contained in:
Stian Fredrik Aune
2022-09-05 18:22:33 +02:00
parent 2acd04a5ca
commit 6d36a04392
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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";
@@ -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