Commit Graph

29124 Commits

Author SHA1 Message Date
Adria Navarro 4ce85cde1a Simplify, use only queues 2024-03-06 14:07:39 +01:00
Adria Navarro 5109477e52 Fix checks 2024-03-06 13:39:27 +01:00
Adria Navarro 61c4b83650 Test with spies 2024-03-06 11:55:49 +01:00
Adria Navarro 8e8378d1be Delete info on process 2024-03-06 00:56:30 +01:00
Adria Navarro a9046e9f26 Use lock name 2024-03-06 00:34:48 +01:00
Adria Navarro 3dbf0b3a64 Throw errors on lock not executed 2024-03-06 00:34:48 +01:00
Adria Navarro 0a2fb4a3a6 Use message id to handle concurrency 2024-03-06 00:34:48 +01:00
Adria Navarro 6707da4ac2 Use bulk 2024-03-06 00:34:48 +01:00
Adria Navarro f5e2dc7a27 Do not use lock 2024-03-06 00:34:48 +01:00
Adria Navarro e584d82e6f Improve redlock non executed response 2024-03-06 00:34:48 +01:00
Adria Navarro 37935112a4 Add comment 2024-03-06 00:34:48 +01:00
Adria Navarro c4fc94fb28 Remove defaults and init 2024-03-06 00:34:48 +01:00
Adria Navarro fb2c7467b0 Clean 2024-03-06 00:34:48 +01:00
Adria Navarro caff2876dd Tests 2024-03-06 00:34:48 +01:00
Adria Navarro 151bfd103b Use bull 2024-03-06 00:34:48 +01:00
Adria Navarro e4d8fe2f47 Add doc-writethrough queue 2024-03-06 00:34:48 +01:00
Adria Navarro ee3cb5ae68 Clean 2024-03-06 00:34:48 +01:00
Adria Navarro 770aff4f5e Type inMemoryQueue 2024-03-06 00:34:48 +01:00
Adria Navarro 3c944073eb Use overloads 2024-03-06 00:34:48 +01:00
Adria Navarro eb78103764 Namespace key in redis by db 2024-03-06 00:34:48 +01:00
Adria Navarro 6bd7e6b374 Namespace key in redis by db 2024-03-06 00:34:47 +01:00
Adria Navarro 608865fe9d Fix types 2024-03-06 00:34:47 +01:00
Adria Navarro cd56e1ffff Type caches 2024-03-06 00:34:47 +01:00
Adria Navarro 8062c28722 Making code more readable 2024-03-06 00:34:47 +01:00
Adria Navarro 6a81d21cb7 Fixes and tests 2024-03-06 00:34:47 +01:00
Adria Navarro 00bf88c5bf Extra tests 2024-03-06 00:34:47 +01:00
Adria Navarro 319b3afddb Ensure keys are removed 2024-03-06 00:34:47 +01:00
Adria Navarro e228b9c207 Test concurrency 2024-03-06 00:34:47 +01:00
Adria Navarro b1e1226de6 Add extra tests 2024-03-06 00:34:47 +01:00
Adria Navarro b1027527b3 Add persisting tests 2024-03-06 00:34:47 +01:00
Adria Navarro 64ea969aaf docWritethrough test 2024-03-06 00:34:47 +01:00
Adria Navarro 3998faaf3a DatabaseImpl.docExists test 2024-03-06 00:34:47 +01:00
Adria Navarro 48c92377ad USe get for doc exists 2024-03-06 00:34:47 +01:00
Adria Navarro c96c57bd9e DocWritethrough 2024-03-06 00:34:47 +01:00
Adria Navarro 86b715d5ce Create docWriteThrough redis cache 2024-03-06 00:34:47 +01:00
Adria Navarro 8f486e7bfc Add tests 2024-03-06 00:33:53 +01:00
Adria Navarro 355dea5b05 Add deleteIfValue 2024-03-06 00:33:53 +01:00
Adria Navarro 60f82610f6 Use redis testcontainer 2024-03-06 00:33:24 +01:00
Adria Navarro b774987e61 Install testcontainers 2024-03-06 00:33:04 +01:00
Adria Navarro d4ffc3d5d7 More tests 2024-03-05 22:54:39 +01:00
Adria Navarro 192d7deb2a Handle errors 2024-03-05 22:52:44 +01:00
Adria Navarro 837395e5e0 Add tests 2024-03-05 22:43:34 +01:00
Adria Navarro 339ca403bf Add redis.increment 2024-03-05 22:43:28 +01:00
Adria Navarro a093cfca99 Fix test 2024-03-05 18:11:12 +01:00
Adria Navarro de0527384a Support complex objects 2024-03-05 18:10:45 +01:00
Adria Navarro 82ff748fd9 Add complex object tests 2024-03-05 18:10:33 +01:00
Adria Navarro f2330144de Clean 2024-03-05 17:57:28 +01:00
Adria Navarro 8f9e8b60c3 Fix types 2024-03-05 17:19:26 +01:00
Adria Navarro 38d557ea1c
Merge branch 'master' into BUDI-8046/redis-bulk-store 2024-03-05 17:11:13 +01:00
Adria Navarro 3baf981d48 Add TTL tests 2024-03-05 17:08:08 +01:00