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 9e1203b1fd
commit efe68224eb

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() =>