From 7e80c4e09f70e14dd8d4974aab1f1b433f38527b Mon Sep 17 00:00:00 2001 From: Shay Rojansky Date: Tue, 8 Sep 2020 13:19:22 +0300 Subject: [PATCH] Flow missing cancellation token in HiLo generator --- src/EFCore/ValueGeneration/HiLoValueGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EFCore/ValueGeneration/HiLoValueGenerator.cs b/src/EFCore/ValueGeneration/HiLoValueGenerator.cs index e3da34b5760..27a5a633879 100644 --- a/src/EFCore/ValueGeneration/HiLoValueGenerator.cs +++ b/src/EFCore/ValueGeneration/HiLoValueGenerator.cs @@ -54,7 +54,7 @@ public override TValue Next(EntityEntry entry) public override ValueTask NextAsync( EntityEntry entry, CancellationToken cancellationToken = default) - => _generatorState.NextAsync(GetNewLowValueAsync); + => _generatorState.NextAsync(GetNewLowValueAsync, cancellationToken); /// /// Gets the low value for the next block of values to be used.