case 4491
This commit is contained in:
@@ -1,11 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using AyaNova.Models;
|
|
||||||
using AyaNova.Util;
|
using AyaNova.Util;
|
||||||
|
|
||||||
using System.Net.Http;
|
using System.Net.Http;
|
||||||
using Newtonsoft.Json;
|
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
|
|
||||||
namespace AyaNova.Biz
|
namespace AyaNova.Biz
|
||||||
@@ -20,15 +18,8 @@ namespace AyaNova.Biz
|
|||||||
{
|
{
|
||||||
private static ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger("CoreJobVersionCheck");
|
private static ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger("CoreJobVersionCheck");
|
||||||
private static DateTime _lastCheck = DateTime.MinValue;
|
private static DateTime _lastCheck = DateTime.MinValue;
|
||||||
|
|
||||||
// #if (DEBUG)
|
|
||||||
|
|
||||||
// private static TimeSpan CHECK_INTERVAL = new TimeSpan(0, 0, 30);//30 seconds
|
|
||||||
// #else
|
|
||||||
|
|
||||||
private static TimeSpan CHECK_INTERVAL = new TimeSpan(24, 0, 0);//every day
|
private static TimeSpan CHECK_INTERVAL = new TimeSpan(24, 0, 0);//every day
|
||||||
//#endif
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// DoWork
|
// DoWork
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user