thecore_backend_commons 3.6.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 82db8e6c6b82cca8191867896dff88204e7fee3d3c9630a2479ba01d217da73f
|
|
4
|
+
data.tar.gz: 1f86cbae0d9a88ea2d9c11547a241523b428d561ce0284779511b6cb7259fa1a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2e8cfc24547a64c22ece5deb69850716462ff57354563a2ad5356dbd3ef7cfc062eeb5221363560dda8bbb7f7c6d620715dc464474ba92a7d52536ee01384c0
|
|
7
|
+
data.tar.gz: aaf01c35547236f4fce81905966d44d70a6eea017bace4336e1a47fcdd4be5063a83a929354996434eee945c8c25224aee28b8a779ed89b86643e5c9afb42182
|
|
@@ -7,3 +7,11 @@ Rails.application.config.active_storage.routes_prefix = ENV.fetch("RAILS_RELATIV
|
|
|
7
7
|
Rails.application.config.action_mailer.delivery_method = :smtp
|
|
8
8
|
|
|
9
9
|
Rails.application.config.action_cable.allowed_request_origins = [/http:\/\/*/, /https:\/\/*/, /file:\/\/*/, 'file://', nil]
|
|
10
|
+
|
|
11
|
+
# Every Thecore app ships a dedicated Sidekiq worker service alongside the web backend (see
|
|
12
|
+
# thecore_devcontainer's docker-compose.yml) — this gem already hard-requires the sidekiq gems
|
|
13
|
+
# and mounts Sidekiq::Web unconditionally (thecore_background_jobs), so ActiveJob should actually
|
|
14
|
+
# route through it rather than defaulting to Rails' in-process :async, which silently drops any
|
|
15
|
+
# job in flight when its process restarts. Production only: :async remains the default in
|
|
16
|
+
# development/test so neither requires a reachable Redis. See docs/adr/0001, CONTEXT.md.
|
|
17
|
+
Rails.application.config.active_job.queue_adapter = :sidekiq if Rails.env.production?
|