breamware / sidekiq-batch

Sidekiq Batch Jobs Implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Callback is triggered just after perform is call

afuente90 opened this issue · comments

I am trying to get the callback (success or complete) when the worker is full finished not just after it is called.

Are there any way to get it done?

I tried with Worker.perform_in(4.seconds,data)
and also in config sidekiq:
:batch_push_interval: 3

But Success or complete event is called just after the action is called.

I also request the status inside the complete function and inside it complete is false:
{
:bid => "XXXX",
:total => 0,
:failures => 0,
:pending => 0,
:created_at => nil,
:complete => false,
:failure_info => [],
:parent_bid => nil,
:child_count => 0
}

Thank you

Stale issue message