Commit f78a3a23 authored by yangxiaodong's avatar yangxiaodong

remove ncoretab dependency.

parent 9de285b5
...@@ -15,23 +15,12 @@ namespace DotNetCore.CAP ...@@ -15,23 +15,12 @@ namespace DotNetCore.CAP
/// </summary> /// </summary>
public const int DefaultPollingDelay = 8; public const int DefaultPollingDelay = 8;
/// <summary>
/// Default value for CAP job.
/// </summary>
public const string DefaultCronExp = "* * * * *";
public CapOptions() public CapOptions()
{ {
CronExp = DefaultCronExp;
PollingDelay = DefaultPollingDelay; PollingDelay = DefaultPollingDelay;
Extensions = new List<ICapOptionsExtension>(); Extensions = new List<ICapOptionsExtension>();
} }
/// <summary>
/// Corn expression for configuring retry cron job. Default is 1 min.
/// </summary>
public string CronExp { get; set; }
/// <summary> /// <summary>
/// Productor job polling delay time. Default is 8 sec. /// Productor job polling delay time. Default is 8 sec.
/// </summary> /// </summary>
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="1.1.1" /> <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="1.1.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.1.2" /> <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.1.2" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="1.1.1" /> <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="1.1.1" />
<PackageReference Include="ncrontab" Version="3.3.0" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" /> <PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
<PackageReference Include="System.Data.Common" Version="4.3.0" /> <PackageReference Include="System.Data.Common" Version="4.3.0" />
<PackageReference Include="System.Threading.ThreadPool" Version="4.3.0" /> <PackageReference Include="System.Threading.ThreadPool" Version="4.3.0" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment