Notify of entity scan timeouts on the console instead of creating tons of notifications

This commit is contained in:
Fabio Manganiello 2022-11-02 22:24:06 +01:00
parent 02abef71e3
commit 7db84acd34
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -188,11 +188,7 @@ export default {
delete self.entityTimeouts[id] delete self.entityTimeouts[id]
self.errorEntities[id] = entity self.errorEntities[id] = entity
self.notify({ console.warn(`Scan timeout for ${entity.name}`)
error: true,
title: entity.plugin,
text: `Scan timeout for ${entity.name}`,
})
}, this.entityScanTimeout * 1000) }, this.entityScanTimeout * 1000)
obj[id] = true obj[id] = true