dotNETCore-Extensions icon indicating copy to clipboard operation
dotNETCore-Extensions copied to clipboard

Pomelo.AspNetCore.TimedJob StartHardTimers convert to int32 error

Open liguobao opened this issue 8 years ago • 0 comments

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}

liguobao avatar Jan 16 '17 15:01 liguobao