Update SQL that contains isMaster

This commit is contained in:
Jeavon Leopold
2021-09-22 17:41:18 +01:00
parent f18af9aaf4
commit a3ca09c82e
2 changed files with 2 additions and 2 deletions

View File

@@ -121,7 +121,7 @@ namespace Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement
{
var timeoutDate = DateTime.Now.Subtract(staleTimeout);
Database.Update<ServerRegistrationDto>("SET isActive=0, isMaster=0 WHERE lastNotifiedDate < @timeoutDate", new { /*timeoutDate =*/ timeoutDate });
Database.Update<ServerRegistrationDto>("SET isActive=0, isSchedulingPublisher=0 WHERE lastNotifiedDate < @timeoutDate", new { /*timeoutDate =*/ timeoutDate });
ClearCache();
}
}