Browse Source

remove ncoretab dependency.

master
yangxiaodong 7 years ago
parent
commit
f78a3a2390
2 changed files with 0 additions and 12 deletions
  1. +0
    -11
      src/DotNetCore.CAP/CAP.Options.cs
  2. +0
    -1
      src/DotNetCore.CAP/DotNetCore.CAP.csproj

+ 0
- 11
src/DotNetCore.CAP/CAP.Options.cs View File

@@ -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>


+ 0
- 1
src/DotNetCore.CAP/DotNetCore.CAP.csproj View File

@@ -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" />


Loading…
Cancel
Save