Fix DB connect_timeout warning and remove deprecated Sentry disableLogger
Local Build and Deploy / deploy (push) Successful in 1m10s
Local Build and Deploy / deploy (push) Successful in 1m10s
This commit is contained in:
1 parent
09f1bc2bd6
commit
0d82f1325e
2 files changed
+1
-1
No files matched your search
@@ -91,7 +91,6 @@ export default withSentryConfig(config, {
|
|||||||
authToken: process.env.SENTRY_AUTH_TOKEN,
|
authToken: process.env.SENTRY_AUTH_TOKEN,
|
||||||
silent: !process.env.CI,
|
silent: !process.env.CI,
|
||||||
widenClientFileUpload: true,
|
widenClientFileUpload: true,
|
||||||
disableLogger: true,
|
|
||||||
sourcemaps: {
|
sourcemaps: {
|
||||||
disable: !process.env.SENTRY_AUTH_TOKEN,
|
disable: !process.env.SENTRY_AUTH_TOKEN,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
const MYSQL2_UNSUPPORTED_OPTIONS = [
|
const MYSQL2_UNSUPPORTED_OPTIONS = [
|
||||||
"connection_limit",
|
"connection_limit",
|
||||||
"pool_timeout",
|
"pool_timeout",
|
||||||
|
"connect_timeout",
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
export function mysqlConnectionUrl(value: string): string {
|
export function mysqlConnectionUrl(value: string): string {
|
||||||
|
|||||||
Reference in new issue
Block a user