如何防止Hangfire重复做业在连续执行30分钟后从新启动(How to prevent a Hangfire recurring job from restarting after 30 minu

 var options = new SqlServerStorageOptions 
{
InvisibilityTimeout = TimeSpan .FromMinutes(30)//默认值
};

GlobalConfiguration.Configuration.UseSqlServerStorage(“< name or connection string>”,options);


http://www.it1352.com/895067.html
相关文章
相关标签/搜索