When using the bulk operations from Dapper Plus in my project, I got a timeout in one of the operations.
I'm already working on the possible causes of the timeout, but I still want to adjust the batch timeout.
But in Dapper Plus' BulkOptions, the unit of measurement for the int BatchTimeout { get; set; }
property is not clearly stated, wheter in the documentation or Metadata as Source.
Is it milliseconds, seconds, minutes or something else?
How to set BatchTimeout:
connection.UseBulkOptions(options => options.BatchTimeout = myTimeout);
connection.BulkInsert(products);
Already tried searching for it on stackoverflow, learndapper, github etc. but the only thing I found was this answer from a GitHub discussion where it is more mentioned briefly than clearly defined:
https://github.com/zzzprojects/Dapper-Plus/issues/92
Summary: When zvig-g passes 180 to the method, the Dapper Plus support team describes it as 180s, implying seconds as the time unit.
Also, this question touches global timeouts for Dapper, but that is not what i need.
Disclaimer: I'm the owner of the project Dapper Plus
Is it milliseconds, seconds, minutes or something else?
The timeout is in seconds