Explorar o código

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

Romain Rigaux %!s(int64=9) %!d(string=hai) anos
pai
achega
4d778d4

+ 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);