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

Commit 588cb12

Browse files
author
uless
committed
分表间隔天数参数名错误修复
1 parent 7660379 commit 588cb12

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Ray.Storage.SQLCore/Configuration/IntegerKeyOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ namespace Ray.Storage.SQLCore.Configuration
44
{
55
public class IntegerKeyOptions : StorageOptions
66
{
7-
public IntegerKeyOptions(IServiceProvider serviceProvider, string connectionKey, string uniqueName, long subTableMinutesInterval = 30) : base(serviceProvider)
7+
public IntegerKeyOptions(IServiceProvider serviceProvider, string connectionKey, string uniqueName, long subTableDaysInterval = 30) : base(serviceProvider)
88
{
99
ConnectionKey = connectionKey;
1010
UniqueName = uniqueName;
11-
SubTableMillionSecondsInterval = subTableMinutesInterval * 24 * 60 * 60 * 1000;
11+
SubTableMillionSecondsInterval = subTableDaysInterval * 24 * 60 * 60 * 1000;
1212
}
1313
}
1414
}

src/Ray.Storage.SQLCore/Configuration/StringKeyOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ namespace Ray.Storage.SQLCore.Configuration
44
{
55
public class StringKeyOptions : StorageOptions
66
{
7-
public StringKeyOptions(IServiceProvider serviceProvider, string connectionKey, string uniqueName, long subTableMinutesInterval = 30, int stateIdLength = 200) : base(serviceProvider)
7+
public StringKeyOptions(IServiceProvider serviceProvider, string connectionKey, string uniqueName, long subTableDaysInterval = 30, int stateIdLength = 200) : base(serviceProvider)
88
{
99
ConnectionKey = connectionKey;
1010
StateIdLength = stateIdLength;
1111
UniqueName = uniqueName;
12-
SubTableMillionSecondsInterval = subTableMinutesInterval * 24 * 60 * 60 * 1000;
12+
SubTableMillionSecondsInterval = subTableDaysInterval * 24 * 60 * 60 * 1000;
1313
}
1414
public int StateIdLength { get; set; }
1515
}

0 commit comments

Comments
 (0)