Merge branch 'main' into iain/objectsender-expose-transport-options
This commit is contained in:
Коммит
5cbfc8bd43
|
@ -10,7 +10,9 @@ module.exports = require('knex')({
|
|||
},
|
||||
pool: {
|
||||
min: 0,
|
||||
max: parseInt(process.env.POSTGRES_MAX_CONNECTIONS_FILE_IMPORT_SERVICE) || 1
|
||||
max: parseInt(process.env.POSTGRES_MAX_CONNECTIONS_FILE_IMPORT_SERVICE) || 1,
|
||||
acquireTimeoutMillis: 16000, //allows for 3x creation attempts plus idle time between attempts
|
||||
createTimeoutMillis: 5000
|
||||
}
|
||||
// migrations are in managed in the server package
|
||||
})
|
||||
|
|
|
@ -170,7 +170,7 @@ const showActionsMenu = ref(false)
|
|||
|
||||
const containerClasses = computed(() => {
|
||||
const classParts = [
|
||||
'group rounded-xl bg-foundation border border-outline-3 hover:border-outline-5 w-full'
|
||||
'group rounded-xl bg-foundation border border-outline-3 hover:border-outline-5 w-full z-[0]'
|
||||
]
|
||||
|
||||
if (versionCount.value > 0) {
|
||||
|
|
|
@ -10,7 +10,9 @@ module.exports = require('knex')({
|
|||
},
|
||||
pool: {
|
||||
min: 0,
|
||||
max: parseInt(process.env.POSTGRES_MAX_CONNECTIONS_PREVIEW_SERVICE) || 2
|
||||
max: parseInt(process.env.POSTGRES_MAX_CONNECTIONS_PREVIEW_SERVICE) || 2,
|
||||
acquireTimeoutMillis: 16000, //allows for 3x creation attempts plus idle time between attempts
|
||||
createTimeoutMillis: 5000
|
||||
}
|
||||
// migrations are in managed in the server package
|
||||
})
|
||||
|
|
|
@ -92,7 +92,12 @@ const commonConfig = {
|
|||
},
|
||||
// we wish to avoid leaking sql queries in the logs: https://knexjs.org/guide/#compilesqlonerror
|
||||
compileSqlOnError: false,
|
||||
pool: { min: 0, max: postgresMaxConnections() }
|
||||
pool: {
|
||||
min: 0,
|
||||
max: postgresMaxConnections(),
|
||||
acquireTimeoutMillis: 16000, //allows for 3x creation attempts plus idle time between attempts
|
||||
createTimeoutMillis: 5000
|
||||
}
|
||||
}
|
||||
|
||||
/** @type {Object<string, import('knex').Knex.Config>} */
|
||||
|
|
|
@ -10,7 +10,9 @@ module.exports = require('knex')({
|
|||
},
|
||||
pool: {
|
||||
min: 0,
|
||||
max: parseInt(process.env.POSTGRES_MAX_CONNECTIONS_WEBHOOK_SERVICE) || 1
|
||||
max: parseInt(process.env.POSTGRES_MAX_CONNECTIONS_WEBHOOK_SERVICE) || 1,
|
||||
acquireTimeoutMillis: 16000, //allows for 3x creation attempts plus idle time between attempts
|
||||
createTimeoutMillis: 5000
|
||||
}
|
||||
// migrations are in managed in the server package
|
||||
})
|
||||
|
|
Загрузка…
Ссылка в новой задаче