mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
increase timeout
This commit is contained in:
parent
270950db2c
commit
dfe2520c8c
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ public static class Program
|
|||
private static ServiceProvider serviceProvider;
|
||||
private static SnapshotService snapshotService;
|
||||
private static Logger logger;
|
||||
private static readonly TimeSpan OneHourTimeout = TimeSpan.FromHours(1);
|
||||
private static readonly TimeSpan Timeout = TimeSpan.FromHours(6);
|
||||
|
||||
public static async Task Main()
|
||||
{
|
||||
|
|
@ -45,7 +45,7 @@ private static async Task TryCaptureSnapshots()
|
|||
{
|
||||
try
|
||||
{
|
||||
await CaptureSnapshots(BatchSize).TimeoutAfter(OneHourTimeout);
|
||||
await CaptureSnapshots(BatchSize).TimeoutAfter(Timeout);
|
||||
}
|
||||
catch (TimeoutException)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue