TransactionConfigBuilder's WithTimeout has been updated to respect neo4j transaction timeouts using whole milliseconds.
The WithTimeout method checks that the number of ticks represented by the timeout represents an exact number of milliseconds.
If not, then it round the timeout up to the next whole millisecond, for example, 0.1ms is rounded to 1ms, and 1.8ms is rounded to 2ms.
If using TimeSpan.MaxValue then no rounding will be performed since rounding up to a whole number of milliseconds would result in a value greater than TimeSpan.MaxValue.
TransactionConfigBuilder
'sWithTimeout
has been updated to respect neo4j transaction timeouts using whole milliseconds.WithTimeout
method checks that the number of ticks represented by the timeout represents an exact number of milliseconds.TimeSpan.MaxValue
then no rounding will be performed since rounding up to a whole number of milliseconds would result in a value greater thanTimeSpan.MaxValue
.