forked from extern/easydiffusion
commit
069315e434
@ -248,7 +248,7 @@
|
|||||||
setServerStatus('busy', 'rendering..')
|
setServerStatus('busy', 'rendering..')
|
||||||
break
|
break
|
||||||
default: // Unavailable
|
default: // Unavailable
|
||||||
console.error('Ping received an unexpedted server status. Status: %s', serverState.status)
|
console.error('Ping received an unexpected server status. Status: %s', serverState.status)
|
||||||
setServerStatus('error', serverState.status.toLowerCase())
|
setServerStatus('error', serverState.status.toLowerCase())
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
@ -277,7 +277,7 @@
|
|||||||
case ServerStates.online:
|
case ServerStates.online:
|
||||||
return true
|
return true
|
||||||
default:
|
default:
|
||||||
console.warn('Unexpedted server status. Server could be unavailable... Status: %s', serverState.status)
|
console.warn('Unexpected server status. Server could be unavailable... Status: %s', serverState.status)
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user