Property ImportTimeout
- Namespace
- YndigoBlue.Velocity.Data
- Assembly
- YndigoBlue.Velocity.dll
ImportTimeout
Gets or sets the timeout in seconds for import operations.
public int ImportTimeout { get; set; }
Property Value
Remarks
This setting controls the maximum time allowed for any single import operation to complete before timing out. The default value of 120 seconds is suitable for most CSV imports of typical data volumes.
Tuning Considerations:
- Large Datasets: For importing very large CSV files (millions of rows), increase this timeout to prevent premature cancellation. Calculate the expected duration based on your data volume and network speed, then add a safety margin.
- Network Performance: If importing from a remote database or over a slow network, increase the timeout. Network latency can significantly extend operation duration.
- Resource Constraints: On systems with limited resources (CPU, memory, I/O), imports will be slower and may require a higher timeout to complete successfully.
- Error Detection: Setting the timeout too high can hide performance problems; the operation will eventually fail or succeed rather than quickly signaling a problem. Monitor import performance to ensure timeouts are appropriate.
If an import consistently times out, investigate the root cause (network speed, disk I/O, CPU capacity) rather than just increasing the timeout indefinitely.