Skip to content

Simplify the logic, make all the clients consistent, implement deep cleaning#11

Merged
JOT85 merged 17 commits intomainfrom
cleaner-logic
Sep 16, 2024
Merged

Simplify the logic, make all the clients consistent, implement deep cleaning#11
JOT85 merged 17 commits intomainfrom
cleaner-logic

Conversation

@JOT85
Copy link
Copy Markdown
Member

@JOT85 JOT85 commented Aug 27, 2024

The main simplification is "an item exists exactly when it's data key exists". Everything else is then built upon that rule, as described in the README.

  • The new logic has much better handling of items with duplicated item IDs (it doesn't require transactions as the implementation in 11abffe did)
  • The idea of "deep cleaning" is now much more simple, and also actually implemented!
  • There's now correct handling of items in queues without data.
  • Lots of tests! The only untested code is the Node.js cleaner code, which I'll write a test for tomorrow.

Closes #3

JOT85 and others added 10 commits August 26, 2024 23:55
…leaning

The main simplification is "an item exists exactly when it's data key
exists". Everything else is then built upon that rule, as described in
the README.

- The new logic has much better handling of items with duplicated item
  IDs (it doesn't require transactions as the implementation in
  11abffe did)
- The idea of "deep cleaning" is now much more simple, and also actually
  implemented!
- There's now correct handling of items in queues without data.
@JOT85 JOT85 merged commit 0bcfc20 into main Sep 16, 2024
@JOT85 JOT85 deleted the cleaner-logic branch September 2, 2025 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't add duplicate jobs

2 participants