Permalink
Browse files

switched to latest NuGet package compatible with .NET standard

  • Loading branch information...
berndruecker committed Dec 3, 2018
1 parent ffa883e commit ef03aada081c16b1da16cf45e6167e01537977cc
@@ -302,7 +302,7 @@ public void Execute(ExternalTask externalTask, ref Dictionary<string, object> re
string customerId = (string)externalTask.Variables["customerId"].Value;
long amount = (long)externalTask.Variables["amount"].Value;
CreateChargeResponse response = circuitBreakerPolicy.Execute<CreateChargeResponse>(
() => RestApiClient.InvokeRestApi(customerId, amount, TimeSpan.FromSeconds(1)));
() => RestApiClient.InvokeRestApi(customerId, amount, TimeSpan.FromMilliseconds(100)));
if (!string.IsNullOrEmpty(response.errorCode))
{
@@ -28,7 +28,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.6" />
<PackageReference Include="Polly" Version="6.1.0" />
<PackageReference Include="BerndRuecker.Sample.CamundaClient" Version="0.0.6" />
<PackageReference Include="BerndRuecker.Sample.CamundaClient" Version="0.1.0" />
</ItemGroup>
<ItemGroup>

0 comments on commit ef03aad

Please sign in to comment.