Skip to content

Commit

Permalink
Merge pull request #312 from nacos-group/dev
Browse files Browse the repository at this point in the history
release v1.3.8
  • Loading branch information
catcherwong authored Aug 20, 2024
2 parents 185362b + 686e3bf commit 09fd79f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build/version.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<NugetVersion>1.3.7</NugetVersion>
<NugetVersion>1.3.8</NugetVersion>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions src/Nacos/Nacos.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Google.Protobuf" Version="3.21.2" />
<PackageReference Include="Grpc.Core" Version="2.46.3" />
<PackageReference Include="Google.Protobuf" Version="3.27.2" />
<PackageReference Include="Grpc.Core" Version="2.46.6" />
<!--<PackageReference Include="Grpc.Net.Client" Version="2.33.1" />-->
<!--<Protobuf Include="V2\protos\nacos_grpc_service.proto" GrpcServices="Client" />-->
<!--<PackageReference Include="Grpc.Tools" Version="2.36.1" PrivateAssets="All" />-->
Expand Down
2 changes: 1 addition & 1 deletion src/Nacos/V2/Common/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
public class Constants
{
public static string CLIENT_VERSION = "Nacos-CSharp-Client:v1.3.7";
public static string CLIENT_VERSION = "Nacos-CSharp-Client:v1.3.8";

public const string ClientName = "NacosClient";

Expand Down
11 changes: 8 additions & 3 deletions src/Nacos/V2/Config/Impl/ConfigRpcTransportClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ protected async override Task ExecuteConfigListen()
}

if (hasChangedKeys)
await NotifyListenConfig().ConfigureAwait(false);
await NotifyListenConfig().ConfigureAwait(false);
}

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

protected override Task NotifyListenConfig()
{
_listenExecutebell.Add(_bellItem);
return Task.CompletedTask;
return Task.Factory.StartNew(async () =>
{
while (!_listenExecutebell.TryAdd(_bellItem))
{
await Task.Delay(500).ConfigureAwait(false);
}
});
}
}
}

0 comments on commit 09fd79f

Please sign in to comment.