Skip to content

Commit ae5d900

Browse files
committed
update error code
1 parent ea71362 commit ae5d900

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

FreeRedis.sln

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Unit", "Unit", "{36C8EC48-1
4444
EndProject
4545
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SocketTest", "test\Unit\SocketTest\SocketTest.csproj", "{D79610B1-ECD7-42D1-8821-2F51728B8D89}"
4646
EndProject
47-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PingTest", "test\Benchmark\PingTest\PingTest.csproj", "{FBE7D3F7-A567-4A38-A0CF-42BD942E2E7F}"
47+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PingTest", "test\Benchmark\PingTest\PingTest.csproj", "{FBE7D3F7-A567-4A38-A0CF-42BD942E2E7F}"
4848
EndProject
4949
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "console_netcore31_client_side_caching", "examples\console_netcore31_client_side_caching\console_netcore31_client_side_caching.csproj", "{DA686F0B-E9F7-4AF1-AD2E-EE6EE0C24BB4}"
5050
EndProject
@@ -214,6 +214,18 @@ Global
214214
{D79610B1-ECD7-42D1-8821-2F51728B8D89}.Release|x64.Build.0 = Release|Any CPU
215215
{D79610B1-ECD7-42D1-8821-2F51728B8D89}.Release|x86.ActiveCfg = Release|Any CPU
216216
{D79610B1-ECD7-42D1-8821-2F51728B8D89}.Release|x86.Build.0 = Release|Any CPU
217+
{FBE7D3F7-A567-4A38-A0CF-42BD942E2E7F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
218+
{FBE7D3F7-A567-4A38-A0CF-42BD942E2E7F}.Debug|Any CPU.Build.0 = Debug|Any CPU
219+
{FBE7D3F7-A567-4A38-A0CF-42BD942E2E7F}.Debug|x64.ActiveCfg = Debug|Any CPU
220+
{FBE7D3F7-A567-4A38-A0CF-42BD942E2E7F}.Debug|x64.Build.0 = Debug|Any CPU
221+
{FBE7D3F7-A567-4A38-A0CF-42BD942E2E7F}.Debug|x86.ActiveCfg = Debug|Any CPU
222+
{FBE7D3F7-A567-4A38-A0CF-42BD942E2E7F}.Debug|x86.Build.0 = Debug|Any CPU
223+
{FBE7D3F7-A567-4A38-A0CF-42BD942E2E7F}.Release|Any CPU.ActiveCfg = Release|Any CPU
224+
{FBE7D3F7-A567-4A38-A0CF-42BD942E2E7F}.Release|Any CPU.Build.0 = Release|Any CPU
225+
{FBE7D3F7-A567-4A38-A0CF-42BD942E2E7F}.Release|x64.ActiveCfg = Release|Any CPU
226+
{FBE7D3F7-A567-4A38-A0CF-42BD942E2E7F}.Release|x64.Build.0 = Release|Any CPU
227+
{FBE7D3F7-A567-4A38-A0CF-42BD942E2E7F}.Release|x86.ActiveCfg = Release|Any CPU
228+
{FBE7D3F7-A567-4A38-A0CF-42BD942E2E7F}.Release|x86.Build.0 = Release|Any CPU
217229
{DA686F0B-E9F7-4AF1-AD2E-EE6EE0C24BB4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
218230
{DA686F0B-E9F7-4AF1-AD2E-EE6EE0C24BB4}.Debug|Any CPU.Build.0 = Debug|Any CPU
219231
{DA686F0B-E9F7-4AF1-AD2E-EE6EE0C24BB4}.Debug|x64.ActiveCfg = Debug|Any CPU

examples/console_netcore31_pubsub/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static void Main(string[] args)
5858
}
5959
Console.ReadKey();
6060
}
61-
void ondata(string channel, string data)
61+
void ondata(string channel, object data)
6262
{
6363
Console.WriteLine($"{channel} -> {data}");
6464
}

test/Unit/FreeRedis.Tests/RedisClientTests/PubSubTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public void Subscribe()
115115
}
116116
Thread.CurrentThread.Join(2000);
117117
}
118-
void ondata(string channel, string data)
118+
void ondata(string channel, object data)
119119
{
120120
Trace.WriteLine($"{channel} -> {data}");
121121
}

0 commit comments

Comments
 (0)