Revert "wait in main to ensure WasSuccessful set"

This reverts commit f075b5a836.
This commit is contained in:
Collin M. Barrett 2018-08-23 14:36:39 -05:00
parent f075b5a836
commit 1f121c31a1

View file

@ -18,12 +18,12 @@ public static class Program
private static Logger logger;
private static readonly TimeSpan OneHourTimeout = TimeSpan.FromHours(1);
public static void Main()
public static async Task Main()
{
BuildConfigRoot();
BuildServiceProvider();
snapshotService = serviceProvider.GetService<SnapshotService>();
TryCaptureSnapshots().Wait();
await TryCaptureSnapshots();
}
private static void BuildConfigRoot() =>