From 405a83b01d2ec29b6357c23ae937eb9e9481336a Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Fri, 18 Feb 2022 21:14:03 +0530 Subject: [PATCH] refactor: increase knex default connection timeout values Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- packages/nc-gui/components/createOrEditProject.vue | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/createOrEditProject.vue b/packages/nc-gui/components/createOrEditProject.vue index 48104735a5..18397afe98 100644 --- a/packages/nc-gui/components/createOrEditProject.vue +++ b/packages/nc-gui/components/createOrEditProject.vue @@ -1098,12 +1098,15 @@ export default { user: 'postgres', password: 'password', database: '_dev', + connectTimeout: 180000, + requestTimeout: 180000, ssl: { ca: '', key: '', cert: '' } }, + acquireConnectionTimeout: 180000, meta: { tn: 'nc_evolutions', dbAlias: 'db', @@ -1166,6 +1169,8 @@ export default { user: 'postgres', password: 'password', database: '_test', + connectTimeout: 180000, + requestTimeout: 180000, ssl: { ca: '', key: '', @@ -1178,6 +1183,8 @@ export default { user: 'root', password: 'password', database: '_test', + connectTimeout: 180000, + requestTimeout: 180000, ssl: { ca: '', key: '', @@ -1189,7 +1196,7 @@ export default { port: '15306', user: 'root', password: 'password', - database: '_test', + database: '_test', ssl: { ca: '', key: '', @@ -1201,7 +1208,7 @@ export default { port: '4000', user: 'root', password: '', - database: '_test', + database: '_test', ssl: { ca: '', key: '', @@ -1262,6 +1269,8 @@ export default { user: 'sa', password: 'Password123.', database: '_test', + connectTimeout: 180000, + requestTimeout: 180000, ssl: { ca: '', key: '',