Skip to content

Commit

Permalink
[clear_dead_requests] soon
Browse files Browse the repository at this point in the history
  • Loading branch information
0exp committed Mar 30, 2024
1 parent f646550 commit 33216d3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Each lock request is put into the request queue (each lock is hosted by it's own
- [keys](#keys---get-list-of-taken-locks-and-queues)
- [locks_info](#locks_info---get-list-of-locks-with-their-info)
- [queues_info](#queues_info---get-list-of-queues-with-their-info)
- [clear_dead_queues](#clear_dead_queues---cleanup-queues-with-dead-requests)
- [clear_dead_requests](#clear_dead_requests)
- [Instrumentation](#instrumentation)
- [Instrumentation Events](#instrumentation-events)
- [Roadmap](#roadmap)
Expand Down Expand Up @@ -205,7 +205,7 @@ end
- [keys](#keys---get-list-of-taken-locks-and-queues)
- [locks_info](#locks_info---get-list-of-locks-with-their-info)
- [queues_info](#queues_info---get-list-of-queues-with-their-info)
- [clear_dead_queues](#clear_dead_queues---cleanup-queues-with-dead-requests)
- [clear_dead_requests](#clear_dead_requests)

---

Expand Down Expand Up @@ -683,7 +683,7 @@ rql.queues_info # or rql.qeuues_info(scan_size: 123)
```
---

#### #clear_dead_queues - cleanup queues with dead requests
#### #clear_dead_requests

- soon

Expand Down Expand Up @@ -770,7 +770,7 @@ Detalized event semantics and payload structure:
- GitHub Actions CI;
- `RedisQueuedLocks::Acquier::Try.try_to_lock` - detailed successful result analization;
- better code stylization and interesting refactorings (observers);
- dead queue keys cleanup (queues with dead requests);
- dead requests cleanup;
- statistics with UI;

---
Expand Down
4 changes: 4 additions & 0 deletions spec/redis_queued_locks_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ def debug(progname = nil, &block)
end
end

specify 'extend_lock_ttl' do

end

specify ':meta' do
# NOTE: with log_lock_try test
client = RedisQueuedLocks::Client.new(redis)
Expand Down

0 comments on commit 33216d3

Please sign in to comment.