increase timeouts

This commit is contained in:
dal 2025-07-07 17:14:12 -06:00
parent 665ee9fd07
commit 73f652081a
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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) {