Skip to content

Commit

Permalink
#214 - Increase delay for first time setup to load caches.
Browse files Browse the repository at this point in the history
  • Loading branch information
maraf committed Jan 30, 2019
1 parent dadc5d8 commit 335fd80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Money.UI.Universal/Bootstrap/BootstrapTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public void Initialize()
Task currencyCreated = eventDispatcher.Handlers.Await<CurrencyCreated>();

await Task.WhenAny(delay, currencyCreated);
await Task.Delay(1000);
await InitializeCacheAsync(priceCalculator, currencyCache);
};
}
Expand Down

0 comments on commit 335fd80

Please sign in to comment.