Commit 14c1728f authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'remove-unnecessary-freeze-in-app' into 'master'

Remove unnecessary freeze in app

See merge request gitlab-org/gitlab-ce!32636
parents 21924175 773eadbe
...@@ -4,8 +4,8 @@ module Ci ...@@ -4,8 +4,8 @@ module Ci
class BuildRunnerPresenter < SimpleDelegator class BuildRunnerPresenter < SimpleDelegator
include Gitlab::Utils::StrongMemoize include Gitlab::Utils::StrongMemoize
RUNNER_REMOTE_TAG_PREFIX = 'refs/tags/'.freeze RUNNER_REMOTE_TAG_PREFIX = 'refs/tags/'
RUNNER_REMOTE_BRANCH_PREFIX = 'refs/remotes/origin/'.freeze RUNNER_REMOTE_BRANCH_PREFIX = 'refs/remotes/origin/'
def artifacts def artifacts
return unless options[:artifacts] return unless options[:artifacts]
......
...@@ -23,7 +23,7 @@ module ObjectStorage ...@@ -23,7 +23,7 @@ module ObjectStorage
end end
end end
TMP_UPLOAD_PATH = 'tmp/uploads'.freeze TMP_UPLOAD_PATH = 'tmp/uploads'
module Store module Store
LOCAL = 1 LOCAL = 1
......
...@@ -5,7 +5,7 @@ module HashedStorage ...@@ -5,7 +5,7 @@ module HashedStorage
include ExclusiveLeaseGuard include ExclusiveLeaseGuard
LEASE_TIMEOUT = 30.seconds.to_i LEASE_TIMEOUT = 30.seconds.to_i
LEASE_KEY_SEGMENT = 'project_migrate_hashed_storage_worker'.freeze LEASE_KEY_SEGMENT = 'project_migrate_hashed_storage_worker'
protected protected
......
...@@ -4,7 +4,7 @@ class StuckCiJobsWorker ...@@ -4,7 +4,7 @@ class StuckCiJobsWorker
include ApplicationWorker include ApplicationWorker
include CronjobQueue include CronjobQueue
EXCLUSIVE_LEASE_KEY = 'stuck_ci_builds_worker_lease'.freeze EXCLUSIVE_LEASE_KEY = 'stuck_ci_builds_worker_lease'
BUILD_RUNNING_OUTDATED_TIMEOUT = 1.hour BUILD_RUNNING_OUTDATED_TIMEOUT = 1.hour
BUILD_PENDING_OUTDATED_TIMEOUT = 1.day BUILD_PENDING_OUTDATED_TIMEOUT = 1.day
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment