Skip to content

Commit

Permalink
Update lib/mini_racer.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmakesgames authored Oct 4, 2024
1 parent d09deea commit 4d56be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mini_racer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def timeout(&blk)
t = Thread.new do
begin
while true do
result = IO.select([rp],[],[],0.1)
result = IO.select([rp],[],[],0.1) # seconds
break if result
cpu_time = update_cpu_time
# cpu time is in micros (e-6), timeout is in millis (e-3);
Expand Down

0 comments on commit 4d56be3

Please sign in to comment.