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
}
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