Skip to content

Commit f4bea8d

Browse files
committed
fixed typos
1 parent 045efba commit f4bea8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/concurrent/executor/timer_set.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def shutdown
9999

100100
# Calculate an Epoch time with milliseconds at which to execute a
101101
# task. If the given time is a `Time` object it will be converted
102-
# accordingly. If the time is an integer value greate than zero
102+
# accordingly. If the time is an integer value greater than zero
103103
# it will be understood as a number of seconds in the future and
104104
# will be added to the current time to calculate Epoch.
105105
#
@@ -139,7 +139,7 @@ def <=>(other)
139139
# for monitoring the internal task queue and sending tasks to the
140140
# executor when it is time for them to be processed. If there is no
141141
# processing thread one will be created. If the processing thread is
142-
# sleeping it will be worken up. If the processing thread has died it
142+
# sleeping it will be woken up. If the processing thread has died it
143143
# will be garbage collected and a new one will be created.
144144
#
145145
# @!visibility private
@@ -190,7 +190,7 @@ def next_sleep_interval
190190
end
191191

192192
# Run a loop and execute tasks in the scheduled order and at the approximate
193-
# shceduled time. If no tasks remain the thread will exit gracefully so that
193+
# scheduled time. If no tasks remain the thread will exit gracefully so that
194194
# garbage collection can occur. If there are no ready tasks it will sleep
195195
# for up to 60 seconds waiting for the next scheduled task.
196196
#

0 commit comments

Comments
 (0)