如何防止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
相關文章
相關標籤/搜索