thecore_background_jobs 2.1.0 → 2.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/sidekiq-thecore.rb +25 -0
- data/lib/thecore_background_jobs.rb +1 -0
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25822f9c80f3f04065323e8a959852aacff9a4d8fa9bc81997e8c4a3e9208b2b
|
4
|
+
data.tar.gz: 3c1b4fe01ac7612d52e45e87774df6ae8b5de26d463c0d98b1a13db31bc70fef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 914a95a8a3ae73a3436bb93ce3bac566d5895ae6e8fb553a5efc88ccd44da26bfdb6c9c57df0594b07bb4d69c7459ef0824e38c7a717961733df03294da5feb1
|
7
|
+
data.tar.gz: 2c11d53d3822056e05e047f01af74c5e9ec2e48c8a78edef97a6272761649c93096aac4183d42e60cd3cf080bf11d9d03c210f8654dc83470d07380cf5097894
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# require 'sidekiq'
|
2
|
+
|
3
|
+
# current_db = rand(1..15)
|
4
|
+
|
5
|
+
# Sidekiq.configure_server do |config|
|
6
|
+
# config.redis = { :namespace => "#{ENV['COMPOSE_PROJECT_NAME'] || 'notset'}", :url => "#{ENV['REDIS_URL']}/#{current_db}" }
|
7
|
+
# end
|
8
|
+
# Sidekiq.configure_client do |config|
|
9
|
+
# config.redis = { :namespace => "#{ENV['COMPOSE_PROJECT_NAME'] || 'notset'}", :url => "#{ENV['REDIS_URL']}/#{current_db}" }
|
10
|
+
# end
|
11
|
+
|
12
|
+
# Set the default queue name for the analysis job to the queue adapter default.
|
13
|
+
Rails.application.config.active_storage.queues.analysis = "#{ENV['COMPOSE_PROJECT_NAME'] || 'notset'}_storage_analysis"
|
14
|
+
|
15
|
+
# Set the default queue name for the purge job to the queue adapter default.
|
16
|
+
Rails.application.config.active_storage.queues.purge = "#{ENV['COMPOSE_PROJECT_NAME'] || 'notset'}_storage_purge"
|
17
|
+
|
18
|
+
# Set the default queue name for the incineration job to the queue adapter default.
|
19
|
+
Rails.application.config.action_mailbox.queues.incineration = "#{ENV['COMPOSE_PROJECT_NAME'] || 'notset'}_mailbox_incinerate"
|
20
|
+
|
21
|
+
# Set the default queue name for the routing job to the queue adapter default.
|
22
|
+
Rails.application.config.action_mailbox.queues.routing = "#{ENV['COMPOSE_PROJECT_NAME'] || 'notset'}_mailbox_routing"
|
23
|
+
|
24
|
+
# Set the default queue name for the mail deliver job to the queue adapter default.
|
25
|
+
Rails.application.config.action_mailer.deliver_later_queue_name = "#{ENV['COMPOSE_PROJECT_NAME'] || 'notset'}_mailers"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore_background_jobs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore_backend_commons
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: redis-namespace
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.8'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.8'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: sidekiq
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -77,6 +91,7 @@ files:
|
|
77
91
|
- README.md
|
78
92
|
- Rakefile
|
79
93
|
- app/workers/demo_worker.rb
|
94
|
+
- config/initializers/sidekiq-thecore.rb
|
80
95
|
- config/routes.rb
|
81
96
|
- lib/admin_constraint.rb
|
82
97
|
- lib/tasks/thecore_background_jobs_tasks.rake
|