mirror of https://github.com/buster-so/buster.git
increase timeouts
This commit is contained in:
parent
665ee9fd07
commit
73f652081a
|
@ -1294,7 +1294,7 @@ async function validateSql(
|
|||
|
||||
// Retry configuration for SQL validation
|
||||
const MAX_RETRIES = 3;
|
||||
const TIMEOUT_MS = 30000; // 30 seconds per attempt
|
||||
const TIMEOUT_MS = 120000; // 120 seconds (2 minutes) per attempt
|
||||
const RETRY_DELAYS = [1000, 3000, 6000]; // 1s, 3s, 6s
|
||||
|
||||
// Attempt execution with retries
|
||||
|
|
|
@ -99,8 +99,8 @@ export class SnowflakeAdapter extends BaseAdapter {
|
|||
try {
|
||||
connection = await this.pool.acquire();
|
||||
|
||||
// Set query timeout if specified (default: 60 seconds)
|
||||
const timeoutMs = timeout || 60000;
|
||||
// Set query timeout if specified (default: 120 seconds)
|
||||
const timeoutMs = timeout || 120000;
|
||||
|
||||
// If no maxRows specified, use regular query
|
||||
if (!maxRows || maxRows <= 0) {
|
||||
|
|
Loading…
Reference in New Issue