solid_queue_autoscaler 1.0.9 → 1.0.10
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/solid_queue_autoscaler/scale_event.rb +5 -0
- data/lib/solid_queue_autoscaler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39531d30eeaa5c53e6c5f4fb01f106b586ebe9b0243be5d7e6ae7748d591c52f
|
|
4
|
+
data.tar.gz: f8a4035f055d66f9ce04d6450653c86cc9ee6cd632145db26e0b8c2c2085a731
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: df8dca7f8a6e75ee7feea851c3120af1fe522e273e7b937d1df02988bc8297dc72094ea272095db490c80ae4d617bb47f15e5adbee26bd36706373f0c020c7cb
|
|
7
|
+
data.tar.gz: aa902d3745ab5992f5698bb130078170217ed389511aba8f6669704fafe1e04a7ab8df7ff2391104af75951d4ce68941f3cf15df0bf3c1c2cae05e1d4d26648e
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.0.10] - 2025-01-17
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **Fixed Dashboard not finding events table in multi-database setups** - `ScaleEvent.default_connection` now correctly uses `SolidQueue::Record.connection` instead of `ActiveRecord::Base.connection`
|
|
14
|
+
- This was causing "Events table not found" errors when using a separate queue database
|
|
15
|
+
|
|
10
16
|
## [1.0.9] - 2025-01-17
|
|
11
17
|
|
|
12
18
|
### Added
|
|
@@ -395,6 +395,11 @@ module SolidQueueAutoscaler
|
|
|
395
395
|
private
|
|
396
396
|
|
|
397
397
|
def default_connection
|
|
398
|
+
# Use SolidQueue's connection for multi-database setups (same as Configuration.connection)
|
|
399
|
+
if defined?(SolidQueue::Record) && SolidQueue::Record.respond_to?(:connection)
|
|
400
|
+
return SolidQueue::Record.connection
|
|
401
|
+
end
|
|
402
|
+
|
|
398
403
|
ActiveRecord::Base.connection
|
|
399
404
|
end
|
|
400
405
|
|