You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some serial jobs may depend on the data from workers that ran before them. What do you suggest is a good mechanism to pass variables along, that are not known in the beginning?
Superworker.create(:get_products_from_amazon, :user_id) do
ReportRequest :user_id #request_id is ready
GetReportStatus :user_id, :request_id #keep doing this until we get generated_report_id
GetReport :user_id, :generated_report_id
end
The text was updated successfully, but these errors were encountered:
Some serial jobs may depend on the data from workers that ran before them. What do you suggest is a good mechanism to pass variables along, that are not known in the beginning?
Superworker.create(:get_products_from_amazon, :user_id) do
ReportRequest :user_id #request_id is ready
GetReportStatus :user_id, :request_id #keep doing this until we get generated_report_id
GetReport :user_id, :generated_report_id
end
The text was updated successfully, but these errors were encountered: