tobox 0.4.1 → 0.4.2
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 +8 -0
- data/lib/tobox/plugins/stats.rb +1 -1
- data/lib/tobox/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ba35990403e5d0244fdc62c373e3ddf2bb422a1b03f5b03f42a7a4a2bc31a9a
|
|
4
|
+
data.tar.gz: b30c8cd7115639eeefc62b47ebb045a813a33a0bd8b353056b681438511a8d8c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c419c3e8aab4b681425ee284e29ea1196212199aae47fad191ed7c7d0a97d07eda3a29b3bb52197896360c801e868a19ec8ce2b69db187a03f3c6097f5a78c70
|
|
7
|
+
data.tar.gz: b0d156f909e75e95e81d675140729e13e381343d838d730cc319fcf527b0d791d2d607bb92f587fe9cc948f51e987521920f5a8ad76a50174499affadb50488c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.4.2] - 2023-05-25
|
|
4
|
+
|
|
5
|
+
### Improvements
|
|
6
|
+
|
|
7
|
+
`stats` plugin: use `max_connections = 1` instead of enabling single threaded mode for the dedicated `sequel` database object.
|
|
8
|
+
|
|
9
|
+
The single threaded mode is not compliant with some `sequel` plugins and extensions, most notable the `:connection_validator` plugin.
|
|
10
|
+
|
|
3
11
|
## [0.4.1] - 2023-05-24
|
|
4
12
|
|
|
5
13
|
### Features
|
data/lib/tobox/plugins/stats.rb
CHANGED
|
@@ -34,7 +34,7 @@ module Tobox
|
|
|
34
34
|
|
|
35
35
|
@max_attempts = config[:max_attempts]
|
|
36
36
|
|
|
37
|
-
@db = Sequel.connect(config.database.opts.merge(
|
|
37
|
+
@db = Sequel.connect(config.database.opts.merge(max_connections: 1))
|
|
38
38
|
Array(config.lifecycle_events[:database_connect]).each { |cb| cb.call(@db) }
|
|
39
39
|
|
|
40
40
|
@outbox_table = config[:table]
|
data/lib/tobox/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tobox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- HoneyryderChuck
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-05-
|
|
11
|
+
date: 2023-05-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sequel
|