We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b55f22f commit 4bdd77fCopy full SHA for 4bdd77f
lib/concurrent/agent.rb
@@ -113,7 +113,7 @@ def validate(&block)
113
# @yieldreturn [Object] the new value
114
# @return [true, nil] nil when no block is given
115
def post(&block)
116
- post_on(@io_executor, &block)
+ post_on(@fast_executor, &block)
117
end
118
119
# Update the current value with the result of the given block fast,
@@ -132,7 +132,7 @@ def post_off(timeout = nil, &block)
132
else
133
block
134
135
- post_on(@fast_executor, &block)
+ post_on(@io_executor, &block)
136
137
138
0 commit comments