mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
removing code that puts the UI in an infinite loop
This commit is contained in:
parent
f7312691e1
commit
4bbd486389
@ -190,9 +190,9 @@ export default
|
||||
$log.debug('Sent to Websocket Server: ' + data);
|
||||
socketPromise.promise.then(function(){
|
||||
console.log("socket readyState at emit: " + self.socket.readyState);
|
||||
if(self.socket.readyState === 0){
|
||||
self.subscribe(self.getLast());
|
||||
}
|
||||
// if(self.socket.readyState === 0){
|
||||
// self.subscribe(self.getLast());
|
||||
// }
|
||||
if(self.socket.readyState === 1){
|
||||
self.socket.send(data, function () {
|
||||
var args = arguments;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user