File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/concurrent-ruby/concurrent Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,14 +136,14 @@ def self.disable_at_exit_handlers!
136
136
#
137
137
# @return [ThreadPoolExecutor] the thread pool
138
138
def self . global_fast_executor
139
- GLOBAL_FAST_EXECUTOR . value
139
+ GLOBAL_FAST_EXECUTOR . value!
140
140
end
141
141
142
142
# Global thread pool optimized for long, blocking (IO) *tasks*.
143
143
#
144
144
# @return [ThreadPoolExecutor] the thread pool
145
145
def self . global_io_executor
146
- GLOBAL_IO_EXECUTOR . value
146
+ GLOBAL_IO_EXECUTOR . value!
147
147
end
148
148
149
149
def self . global_immediate_executor
@@ -154,7 +154,7 @@ def self.global_immediate_executor
154
154
#
155
155
# @return [Concurrent::TimerSet] the thread pool
156
156
def self . global_timer_set
157
- GLOBAL_TIMER_SET . value
157
+ GLOBAL_TIMER_SET . value!
158
158
end
159
159
160
160
# General access point to global executors.
You can’t perform that action at this time.
0 commit comments