Use one client per thread, via a factory method, instead of a global.
authorTom Clegg <tom@curoverse.com>
Sun, 4 May 2014 19:55:15 +0000 (15:55 -0400)
committerTom Clegg <tom@curoverse.com>
Sun, 4 May 2014 21:01:54 +0000 (17:01 -0400)
commit6f6235983d91e0b9fb5660d0a2825f510bbdac73
tree0663bbbaa1e76dce88aabc7082784c2ec8c6bdd1
parent54897c8f978f127a44c0a9d20c1e87cea840b21f
Use one client per thread, via a factory method, instead of a global.
17 files changed:
apps/workbench/app/controllers/actions_controller.rb
apps/workbench/app/controllers/application_controller.rb
apps/workbench/app/controllers/collections_controller.rb
apps/workbench/app/controllers/sessions_controller.rb
apps/workbench/app/controllers/users_controller.rb
apps/workbench/app/helpers/arvados_api_client_helper.rb [new file with mode: 0644]
apps/workbench/app/models/arvados_api_client.rb
apps/workbench/app/models/arvados_base.rb
apps/workbench/app/models/arvados_resource_list.rb
apps/workbench/app/models/collection.rb
apps/workbench/app/models/group.rb
apps/workbench/app/models/user.rb
apps/workbench/app/models/user_agreement.rb
apps/workbench/app/views/layouts/application.html.erb
apps/workbench/app/views/users/welcome.html.erb
apps/workbench/app/views/websocket/index.html.erb
apps/workbench/config/initializers/zzz_arvados_api_client.rb [deleted file]