File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ package body LSP.Raw_Clients is
71
71
72
72
function Is_Server_Running (Self : Raw_Client'Class) return Boolean is
73
73
begin
74
- return Self.Server.Status in Spawn.Processes. Running;
74
+ return Self.Server.Status in Spawn.Running;
75
75
end Is_Server_Running ;
76
76
77
77
-- -----------------------------
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ package body Tester.Tests is
204
204
Self.Send_Message (Text);
205
205
206
206
loop
207
- Spawn.Processes.Monitor_Loop (Timeout => 100 );
207
+ Spawn.Processes.Monitor_Loop (Timeout => 0.1 );
208
208
exit when GNATCOLL.JSON.Length (Self.Waits) = 0 ;
209
209
210
210
if Ada.Calendar.Clock - Self.Started > Timeout
@@ -408,7 +408,7 @@ package body Tester.Tests is
408
408
Listener.Process.Close_Standard_Error;
409
409
410
410
loop
411
- Spawn.Processes.Monitor_Loop (Timeout => 10 );
411
+ Spawn.Processes.Monitor_Loop (Timeout => 0.01 );
412
412
exit when Listener.Done;
413
413
end loop ;
414
414
@@ -469,7 +469,7 @@ package body Tester.Tests is
469
469
Self.Start;
470
470
471
471
loop
472
- Spawn.Processes.Monitor_Loop (Timeout => 1 );
472
+ Spawn.Processes.Monitor_Loop (Timeout => 0.001 );
473
473
exit when Self.Is_Server_Running;
474
474
end loop ;
475
475
@@ -511,7 +511,7 @@ package body Tester.Tests is
511
511
end if ;
512
512
513
513
loop
514
- Spawn.Processes.Monitor_Loop (Timeout => 1 );
514
+ Spawn.Processes.Monitor_Loop (Timeout => 0.001 );
515
515
exit when not Self.Is_Server_Running;
516
516
end loop ;
517
517
You can’t perform that action at this time.
0 commit comments