浏览代码

HUE-3450 [editor] Move hint suggestion to 5s timeout

Romain Rigaux 9 年之前
父节点
当前提交
4d778d4242
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/libs/notebook/src/notebook/static/notebook/js/notebook.ko.js

+ 1 - 1
desktop/libs/notebook/src/notebook/static/notebook/js/notebook.ko.js

@@ -369,7 +369,7 @@
       });
       return statement;
     });
-    this.delayedStatement = ko.pureComputed(self.statement).extend({ rateLimit: { method: "notifyWhenChangesStop", timeout: 2000 } });
+    this.delayedStatement = ko.pureComputed(self.statement).extend({ rateLimit: { method: "notifyWhenChangesStop", timeout: 5000 } });
     this.delayedStatement.subscribe(function (val) {
       self.getComplexity();
       self.hasSuggestion(false);