dotNETCore-Extensions
dotNETCore-Extensions copied to clipboard
Pomelo.AspNetCore.TimedJob StartHardTimers convert to int32 error
System.OverflowException: Value was either too large or too small for an Int32. at System.Convert.ToInt32(Double value) at Pomelo.AspNetCore.TimedJob.TimedJobService.StartHardTimers() at Pomelo.AspNetCore.TimedJob.TimedJobService..ctor(IAssemblyLocator locator, IServiceProvider services) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, ServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(ScopedCallSite scopedCallSite, ServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProvider.<>c__DisplayClass16_0.<RealizeService>b__0(ServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Microsoft.AspNetCore.Builder.TimedJobExtensions.UseTimedJob(IApplicationBuilder self) at Dy2018CrawlerWithDB.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) in C:\code\github\Dy2018Crawler\src\Dy2018CrawlerForDB\Startup.cs:line 44}