diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-02-15 13:40:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-15 13:40:21 +0100 |
commit | a6aba6919fcfdf81eb5f9c87d62274abf8f1ddb2 (patch) | |
tree | 2aae225ca8460b34a31a92859599617d2505ff97 /platform/javascript | |
parent | 78a767edb38134bcfaa9df793214af9756c097c0 (diff) | |
parent | ab5eaf0ad97cfac2d3bc924ae99c5fc83cd3e838 (diff) |
Merge pull request #58081 from tavurth/bugfix/high-macos-cpu-usage
Diffstat (limited to 'platform/javascript')
-rw-r--r-- | platform/javascript/export/export_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/export/export_plugin.cpp b/platform/javascript/export/export_plugin.cpp index 8a1360e421..d40ba2320a 100644 --- a/platform/javascript/export/export_plugin.cpp +++ b/platform/javascript/export/export_plugin.cpp @@ -645,7 +645,7 @@ Ref<Texture2D> EditorExportPlatformJavaScript::get_run_icon() const { void EditorExportPlatformJavaScript::_server_thread_poll(void *data) { EditorExportPlatformJavaScript *ej = (EditorExportPlatformJavaScript *)data; while (!ej->server_quit) { - OS::get_singleton()->delay_usec(1000); + OS::get_singleton()->delay_usec(6900); { MutexLock lock(ej->server_lock); ej->server->poll(); |