Skip to content

Commit 09fd79f

Browse files
authored
Merge pull request #312 from nacos-group/dev
release v1.3.8
2 parents 185362b + 686e3bf commit 09fd79f

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

build/version.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project>
22
<PropertyGroup>
3-
<NugetVersion>1.3.7</NugetVersion>
3+
<NugetVersion>1.3.8</NugetVersion>
44
</PropertyGroup>
55
</Project>

src/Nacos/Nacos.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848

4949
<ItemGroup>
5050
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
51-
<PackageReference Include="Google.Protobuf" Version="3.21.2" />
52-
<PackageReference Include="Grpc.Core" Version="2.46.3" />
51+
<PackageReference Include="Google.Protobuf" Version="3.27.2" />
52+
<PackageReference Include="Grpc.Core" Version="2.46.6" />
5353
<!--<PackageReference Include="Grpc.Net.Client" Version="2.33.1" />-->
5454
<!--<Protobuf Include="V2\protos\nacos_grpc_service.proto" GrpcServices="Client" />-->
5555
<!--<PackageReference Include="Grpc.Tools" Version="2.36.1" PrivateAssets="All" />-->

src/Nacos/V2/Common/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
public class Constants
44
{
5-
public static string CLIENT_VERSION = "Nacos-CSharp-Client:v1.3.7";
5+
public static string CLIENT_VERSION = "Nacos-CSharp-Client:v1.3.8";
66

77
public const string ClientName = "NacosClient";
88

src/Nacos/V2/Config/Impl/ConfigRpcTransportClient.cs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ protected async override Task ExecuteConfigListen()
454454
}
455455

456456
if (hasChangedKeys)
457-
await NotifyListenConfig().ConfigureAwait(false);
457+
await NotifyListenConfig().ConfigureAwait(false);
458458
}
459459

460460
private async Task RefreshContentAndCheck(string groupKey, bool notify)
@@ -501,8 +501,13 @@ private void RemoveCache(string dataId, string group, string tenant)
501501

502502
protected override Task NotifyListenConfig()
503503
{
504-
_listenExecutebell.Add(_bellItem);
505-
return Task.CompletedTask;
504+
return Task.Factory.StartNew(async () =>
505+
{
506+
while (!_listenExecutebell.TryAdd(_bellItem))
507+
{
508+
await Task.Delay(500).ConfigureAwait(false);
509+
}
510+
});
506511
}
507512
}
508513
}

0 commit comments

Comments
 (0)