Shaolinq
Shaolinq copied to clipboard
Doesn't seem to work with new version of ngpsql
ngpsql is now on version 4.1.1 and Shaolinq gets an error with ConnectionIdleTimeout during initialization.
I've just tried a test case and the error I see is:
System.ArgumentException : Connection can't have ConnectionIdleLifetime 00:00:03 under ConnectionPruningInterval 00:00:10
Assuming this is the same issue you're referring to, setting ConnectionIdleLifetime
on the connection properties to at least 10
(the ConnectionPruningInterval
value) works around the issue.
There does seem to be a related issue where ConnectionPruningInterval
is not correctly applied from the configuration to the actual connection, which we can fix in a future release.
this is indeed the issue I ran into. Thanks for the workaround
@samcook I've merged the fix in, should we close this one?