Revision ff217463
Added by Amos Benari almost 12 years ago
- ID ff21746304b893a8cc07953cb5dd8487706e1339
app/models/orchestration.rb | ||
---|---|---|
end
|
||
|
||
def update_cache
|
||
Rails.cache.write(queuename, (queue.all + post_queue.all).to_json, :expires_in => 5.minutes)
|
||
Rails.cache.write(progress_report_id, (queue.all + post_queue.all).to_json, :expires_in => 5.minutes)
|
||
end
|
||
|
||
end
|
Also available in: Unified diff
renamed the parameter queuename to progress_report_id to reflect the fact that
we now have multiple queues in a single progress report.