|
@ -57,7 +57,6 @@ class CrashedHostsCron extends SiteWorkerProcess { |
|
|
|
|
|
|
|
|
async expireCrashedHosts ( ) { |
|
|
async expireCrashedHosts ( ) { |
|
|
try { |
|
|
try { |
|
|
this.log.debug('expiring crashed hosts'); |
|
|
|
|
|
await NetHost |
|
|
await NetHost |
|
|
.find({ status: 'crashed' }) |
|
|
.find({ status: 'crashed' }) |
|
|
.select('_id hostname') |
|
|
.select('_id hostname') |
|
|