redis_queued_locks 0.0.24 → 0.0.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/README.md +2 -0
- data/lib/redis_queued_locks/acquier/acquire_lock.rb +1 -1
- data/lib/redis_queued_locks/version.rb +2 -2
- 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: 4c22d05a7cd7efbb64d23815a549ac668643635c764055cd74d4b935676e2c1f
|
4
|
+
data.tar.gz: 97325d6296b8cb5754bbad368226a9a5effe60528d7962419f5b4dbbd97f3b2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cffa3d5acfc3ec669d102eeec79ab81e1b3ccdd20cfe8ea3e6625a8acb3d847d0d8ed8343039ed042dfedb8ab5c0e4b928d3fca05c27ce0d75991772a0ebd77
|
7
|
+
data.tar.gz: 88702b3fecaac8f2e1857aed831e8d8ab5b1f871ee2248b76f27969257d695d9df8b0edb456995d39e985e05236068c95fd4b510bb25df6d7611f6eb6d9b9694
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [0.0.25] - 2024-03-21
|
4
|
+
### Changed
|
5
|
+
- Minor logs stylization;
|
6
|
+
|
3
7
|
## [0.0.24] - 2024-03-21
|
4
8
|
### Added
|
5
9
|
- An optional ability to log each try of lock obtaining (see `RedisQueuedLocks::Acquier::AcquireLock::TryToLock.try_to_lock`);
|
@@ -7,7 +11,7 @@
|
|
7
11
|
## [0.0.23] - 2024-03-21
|
8
12
|
### Changed
|
9
13
|
- Composed redis commands are invoked on the one conenction
|
10
|
-
(instead of mutiple connection
|
14
|
+
(instead of mutiple connection fetching from redis connection pool on each redis command);
|
11
15
|
|
12
16
|
## [0.0.22] - 2024-03-21
|
13
17
|
### Added
|
data/README.md
CHANGED
@@ -612,6 +612,8 @@ Detalized event semantics and payload structure:
|
|
612
612
|
- `RedisQueuedLocks::Acquier::Try.try_to_lock` - detailed successful result analization;
|
613
613
|
- better code stylization and interesting refactorings;
|
614
614
|
- lock queue expiration (dead queue cleanup);
|
615
|
+
- support for `Dragonfly` DB backend;
|
616
|
+
- support for `Garnet` DB backend;
|
615
617
|
|
616
618
|
---
|
617
619
|
|
@@ -174,7 +174,7 @@ module RedisQueuedLocks::Acquier::AcquireLock
|
|
174
174
|
run_non_critical do
|
175
175
|
logger.debug(
|
176
176
|
"[redis_queued_locks.lock_obtained] " \
|
177
|
-
"lock_key => '#{result[:lock_key]}'" \
|
177
|
+
"lock_key => '#{result[:lock_key]}' " \
|
178
178
|
"acq_time => #{acq_time} (ms)"
|
179
179
|
)
|
180
180
|
end
|