Class: Contender::Pool::DiscardPolicy
- Inherits:
-
RejectionPolicy
- Object
- RejectionPolicy
- Contender::Pool::DiscardPolicy
- Defined in:
- lib/contender/pool/rejection_policy.rb
Overview
Rejection policy that silently discards a task
Instance Method Summary collapse
Instance Method Details
#on_rejection(task, executor) ⇒ undefined
42 43 44 |
# File 'lib/contender/pool/rejection_policy.rb', line 42 def on_rejection(task, executor) # Just ignore the task end |