mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Avoid the multiple queries for Gamedig monitor
This commit is contained in:
parent
3eab6e8238
commit
9cc3bd0de4
1 changed files with 2 additions and 1 deletions
|
@ -495,7 +495,8 @@ class Monitor extends BeanModel {
|
|||
const state = await Gamedig.query({
|
||||
type: this.game,
|
||||
host: this.hostname,
|
||||
port: this.port
|
||||
port: this.port,
|
||||
givenPortOnly: true,
|
||||
});
|
||||
|
||||
bean.msg = state.name;
|
||||
|
|
Loading…
Reference in a new issue