Преглед на файлове

remove ncoretab dependency.

master
yangxiaodong преди 7 години
родител
ревизия
f78a3a2390
променени са 2 файла, в които са добавени 0 реда и са изтрити 12 реда
  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 Целия файл

@@ -15,23 +15,12 @@ namespace DotNetCore.CAP
/// </summary>
public const int DefaultPollingDelay = 8;

/// <summary>
/// Default value for CAP job.
/// </summary>
public const string DefaultCronExp = "* * * * *";

public CapOptions()
{
CronExp = DefaultCronExp;
PollingDelay = DefaultPollingDelay;
Extensions = new List<ICapOptionsExtension>();
}

/// <summary>
/// Corn expression for configuring retry cron job. Default is 1 min.
/// </summary>
public string CronExp { get; set; }

/// <summary>
/// Productor job polling delay time. Default is 8 sec.
/// </summary>


+ 0
- 1
src/DotNetCore.CAP/DotNetCore.CAP.csproj Целия файл

@@ -20,7 +20,6 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="1.1.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="1.1.2" />
<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="System.Data.Common" Version="4.3.0" />
<PackageReference Include="System.Threading.ThreadPool" Version="4.3.0" />


Зареждане…
Отказ
Запис