aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib/active_job/queue_adapters/async_adapter.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-07-10 04:59:49 +0930
committerGitHub <noreply@github.com>2017-07-10 04:59:49 +0930
commit92be910f6a7d918a3d1c6fce6bd9caa565bf6ab5 (patch)
treea4dafa29ffc8419449a6edab6abcd8554a2b9000 /activejob/lib/active_job/queue_adapters/async_adapter.rb
parent0b6309d6bc9712c06fdc42dda8ae8bd695401b7c (diff)
parent14ece5e4292053e7a40e9bd80c447745f721e217 (diff)
downloadrails-92be910f6a7d918a3d1c6fce6bd9caa565bf6ab5.tar.gz
rails-92be910f6a7d918a3d1c6fce6bd9caa565bf6ab5.tar.bz2
rails-92be910f6a7d918a3d1c6fce6bd9caa565bf6ab5.zip
Merge pull request #29733 from kirs/frozen-activejob
Use frozen-string-literal in ActiveJob
Diffstat (limited to 'activejob/lib/active_job/queue_adapters/async_adapter.rb')
-rw-r--r--activejob/lib/active_job/queue_adapters/async_adapter.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activejob/lib/active_job/queue_adapters/async_adapter.rb b/activejob/lib/active_job/queue_adapters/async_adapter.rb
index e2bff9e646..d2fc686339 100644
--- a/activejob/lib/active_job/queue_adapters/async_adapter.rb
+++ b/activejob/lib/active_job/queue_adapters/async_adapter.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
require "securerandom"
require "concurrent/scheduled_task"
require "concurrent/executor/thread_pool_executor"