Skip to content
This repository was archived by the owner on Nov 8, 2020. It is now read-only.

Commit 9435a2c

Browse files
committed
Fix mysql.
1 parent 8236ddc commit 9435a2c

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

Test/RayCore.Tests/RayCore.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<ItemGroup>
33
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="3.1.1" />
4-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
4+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
55
<PackageReference Include="Microsoft.Orleans.TestingHost" Version="3.0.2" />
66
<PackageReference Include="xunit" Version="2.4.1" />
77
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">

src/Ray.Storage.MySQL/Storage/EventStorage.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public EventStorage(IServiceProvider serviceProvider, StorageOptions config)
3030
serializer = serviceProvider.GetService<ISerializer>();
3131
typeFinder = serviceProvider.GetService<ITypeFinder>();
3232
mpscChannel = serviceProvider.GetService<IMpscChannel<AsyncInputEvent<BatchAppendTransport<PrimaryKey>, bool>>>();
33+
mpscChannel.BindConsumer(BatchInsertExecuter);
3334
this.config = config;
3435
}
3536
static readonly ConcurrentDictionary<string, string> getListSqlDict = new ConcurrentDictionary<string, string>();

src/Ray.Storage.PostgreSQL/Ray.Storage.PostgreSQL.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<ItemGroup>
33
<PackageReference Include="Dapper" Version="2.0.30" />
4-
<PackageReference Include="Npgsql" Version="4.1.2" />
4+
<PackageReference Include="Npgsql" Version="4.1.3" />
55
</ItemGroup>
66

77
<ItemGroup>

0 commit comments

Comments
 (0)