为什么这个超时早于 30 分钟?

Why is this timing out well before 30 minutes?

这是我打开数据库连接并进行查询的代码

Set dbo = CreateObject("ADODB.Connection")
dbo.CommandTimeout = 1800
dbo.ConnectionTimeout = 1800
dbo.Open(DSN)
Set results = CreateObject("ADODB.recordset")
results.open SQL, DSN
if results.eof then 
    Wscript.StdOut.WriteLine "No records found."
else
    stuff happens here
end if

出于某种原因,无论是否在连接上设置了 CommandTimeout 和 ConnectionTimeout,它都会在 30 秒后超时。

Microsoft OLE DB Provider for ODBC Drivers: [Cache ODBC][State : S1T00][N ative Code 450]

我在 the ADODB.Recordset object.

上没有看到任何 timeout 属性

我找到了下面的设置。这并不理想,但至少我的 运行 宁查询 运行,即使它们需要几天时间。