Improved the pauses between indexing steps and between files of the Batch Processing Assistant (#1240)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-27 14:39:17 +01:00
1 parent a117074972
commit 899139c88b
32 files changed
+787 -425

No files matched your search

@@ -1,5 +1,7 @@
using System.Linq.Expressions;
using AIStudio.Tools.Pauses;
namespace AIStudio.Settings.DataModel;
/// <summary>
@@ -9,9 +11,9 @@ namespace AIStudio.Settings.DataModel;
public sealed class DataDataSourceIndexing(Expression<Func<Data, DataDataSourceIndexing>>? configSelection = null)
{
/// <summary>
/// The longest pause between two indexing steps either bound may ask for.
/// The pauses between two indexing steps either bound may ask for: none at all, up to 300 seconds.
/// </summary>
public const int MAX_PAUSE_BETWEEN_STEPS_SECONDS = 300;
public static readonly PauseLimits PAUSE_LIMITS = new(0, 300);
/// <summary>
/// Initializes an unmanaged instance, e.g., for the JSON deserializer.