Fix motivate font, fixed server command check error
This commit is contained in:
parent
b2e6dd01fe
commit
952f2e5237
3 changed files with 6 additions and 5 deletions
|
@ -71,7 +71,7 @@ class ImageWorker extends BaseServiceWorker {
|
|||
if (connection.conn.readyState !== 0 && connection.conn.readyState !== 1) {
|
||||
continue;
|
||||
}
|
||||
if (object.params.type && !connection.formats[object.cmd].includes(object.params.type)) continue;
|
||||
if (object.params.type && connection.formats[object.cmd] && !connection.formats[object.cmd].includes(object.params.type)) continue;
|
||||
idealServers.push({
|
||||
addr: address,
|
||||
load: connection.njobs / connection.max
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue