perfs - suspendable

This commit is contained in:
Stephan
2017-09-05 14:51:56 +02:00
parent 8d6c8ef282
commit dbda6689b6
8 changed files with 196 additions and 59 deletions

View File

@@ -27,6 +27,9 @@ namespace Umbraco.Web.Scheduling
{
if (_appContext == null) return true; // repeat...
if (Suspendable.ScheduledPublishing.CanRun == false)
return true; // repeat, later
switch (_appContext.GetCurrentServerRole())
{
case ServerRole.Slave: