-
Notifications
You must be signed in to change notification settings - Fork 150
Description
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
-
What version of .NET driver are you using?
5.1.0 -
What operating system and processor architecture are you using?
win x64 -
What version of .NET framework are you using?
.Net 6 -
What did you do?
I set CLIENT_SESSION_KEEP_ALIVE_HEARTBEAT_FREQUENCY to 900 at USER level and connect with "CLIENT_SESSION_KEEP_ALIVE=TRUE", but Hearbeat still happens every hour -
What did you expect to see?
Hearbeat happens every 15m -
Can you set logging to DEBUG and collect the logs?
This is the log showing that the connection is idled for 1h before heartbeat
[2025-12-04 00:32:19] [1] [DEBUG] [Snowflake.Data.Core.QueryContextCache] checkCacheCapacity() returns. cacheSet size 1 cache capacity 5
null
[2025-12-04 00:32:19] [1] [DEBUG] [Snowflake.Data.Core.QueryContextCache] Cache Entry: id: 0 readTimestamp: 1764826339682179 priority: 0
null
[2025-12-04 01:32:19] [20] [DEBUG] [Snowflake.Data.Core.SFSession] heartbeat
null