X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f4ca9ad94a6bb006d1f3c7ba207837f1736d1247..68bdf4cbb1d2c22d689b1d74a1c2a77415921b4d:/services/api/config/environment.rb diff --git a/services/api/config/environment.rb b/services/api/config/environment.rb index 4ccec85307..e24eee035c 100644 --- a/services/api/config/environment.rb +++ b/services/api/config/environment.rb @@ -1,12 +1,10 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + # Load the rails application require File.expand_path('../application', __FILE__) require 'josh_id' # Initialize the rails application Server::Application.initialize! -begin - Rails.cache.clear -rescue Errno::ENOENT => e - # Cache directory does not exist? Then cache is clear, proceed. - Rails.logger.warn "In Rails.cache.clear, ignoring #{e.inspect}" -end