src/Palete/LanguageClientVala.vala
authorAlan Knowles <alan@roojs.com>
Thu, 21 Mar 2024 14:34:32 +0000 (22:34 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 Mar 2024 14:34:32 +0000 (22:34 +0800)
src/Palete/LanguageClientVala.vala

index 83b1e03..e8399fa 100644 (file)
@@ -57,7 +57,7 @@ namespace Palete {
                        base(project);
 
                        if (this.change_queue_id == 0 ) {
-                               this.change_queue_id = GLib.Timeout.add_seconds(1, () => {
+                               this.change_queue_id = GLib.Timeout.add(500, () => {
                                        this.run_change_queue();
                                        this.run_doc_queue();
                                        return true;
@@ -478,7 +478,7 @@ namespace Palete {
                                });
                        }
                        
-                       this.countdown = 2;
+                       this.countdown = 4;
                        this.change_queue_file = file;
                         
                        
@@ -698,7 +698,7 @@ namespace Palete {
                                });
                        }
                        
-                       this.doc_countdown = 2;
+                       this.doc_countdown = 4;
                        this.doc_queue_file = file;
                }