Further workaround to try to push node.js event loop forward (#1511)
FREEBIE
This commit is contained in:
@@ -39,5 +39,10 @@
|
||||
window.nodeXMLHttpRequest = require("./js/XMLHttpRequest").XMLHttpRequest;
|
||||
window.nodeWebSocket = require("websocket").w3cwebsocket;
|
||||
|
||||
// Linux seems to periodically let the event loop stop, so this is a global workaround
|
||||
setInterval(function() {
|
||||
setImmediate(function() {});
|
||||
}, 1000);
|
||||
|
||||
window.EmojiConvertor = require('emoji-js');
|
||||
})();
|
||||
|
Reference in New Issue
Block a user