1
0
Fork 0
mirror of synced 2024-09-19 02:39:37 +12:00
Commit graph

128 commits

Author SHA1 Message Date
Sam Rose
217b39c232
Reenable no-unused-vars 2024-03-20 11:46:39 +00:00
Sam Rose
5749333fc7
Reenable no-useless-escape. 2024-03-19 11:14:16 +00:00
Sam Rose
7a63dc9830
Making progress on getting the eslint-jest plugin working. 2024-03-19 10:46:59 +00:00
Sam Rose
1f63f0bddf
Run auto fix. 2024-03-19 09:46:10 +00:00
Adria Navarro
536422e60b Undo 2024-03-07 11:23:09 +01:00
Adria Navarro
5df0c85a9b
Merge branch 'master' into BUDI-8064/doc-writethrough 2024-03-07 10:31:33 +01:00
Adria Navarro
d06f9e0a1c Add bulk delete 2024-03-07 00:25:12 +01:00
Adria Navarro
ee86cd30d6
Merge branch 'master' into BUDI-8046/redis-delete-if-value 2024-03-06 15:46:16 +01:00
Adria Navarro
baa58990c8
Merge branch 'master' into BUDI-8046/redis-increment 2024-03-06 12:32:51 +01:00
Adria Navarro
c198a5ae03
Update packages/backend-core/src/redis/redis.ts
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-03-06 12:23:04 +01:00
Adria Navarro
4baadadaa8 Use pipeline instead of eval 2024-03-06 12:22:20 +01:00
Adria Navarro
d35d382ddb Increase timeouts 2024-03-06 00:58:05 +01:00
Adria Navarro
e584d82e6f Improve redlock non executed response 2024-03-06 00:34:48 +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
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
3baf981d48 Add TTL tests 2024-03-05 17:08:08 +01:00
Adria Navarro
1b0a943e13 Atomic expires 2024-03-05 17:04:46 +01:00
Adria Navarro
d9a5899b27 Bulk store test 2024-03-05 16:49:45 +01:00
Adria Navarro
49db47e1fd Add bulk store 2024-03-05 16:46:33 +01:00
Adria Navarro
a4288a9dd3 Basic test 2024-03-05 16:41:49 +01:00
Adria Navarro
56870bed5b Typings 2024-03-05 16:30:45 +01:00
Adria Navarro
e076c0e5f5 Use typed redis clients 2024-03-05 15:10:51 +01:00
jvcalderon
1ef5e54c29 Add BPM_EVENTS to Redis DB list 2024-02-23 16:26:23 +01:00
mike12345567
bbeaed48a7 Removing the use of the addQueries quota functionality from row API - we don't make use of these statistics anymore (and haven't in a while) counting them is pointless and could be causing some loss in performance in these heavily used endpoints. 2024-01-04 17:38:54 +00:00
mike12345567
3cfe641486 Fixing issue with Redis disconnection - this should correctly reconnect the service when Redis service becomes available again. 2023-12-22 18:28:07 +00:00
mike12345567
c4af5214ef Improving types around the writethrough cache, exposing the proper typing from the database and removing a log statement which is useless, errors are correctly propogated if they matter (and handled above this level with proper context) or in the 99% scenario it is not a real error (such as try once locks already being held) and a log is just spammy. 2023-12-13 15:08:23 +00:00
Adria Navarro
e4237c0620 Remove conflicting typing 2023-12-04 15:15:40 +01:00
Adria Navarro
12015c79ae Add comments 2023-11-30 18:39:33 +01:00
Adria Navarro
670853a0ea Renames 2023-11-30 18:39:33 +01:00
Adria Navarro
fb72b77ac1 Use jest.useFakeTimers 2023-11-30 18:39:33 +01:00
Adria Navarro
bd89633e61 Fix wrong commited code 2023-11-30 18:39:33 +01:00
Adria Navarro
a8ac4eed6d Autoextend without ttl 2023-11-30 18:39:33 +01:00
Adria Navarro
25099ee28e Clean redlock test settings 2023-11-30 18:39:33 +01:00
Adria Navarro
57b4c08731 Increase timeouts 2023-11-30 18:39:33 +01:00
Adria Navarro
dcb6933eaa Clean 2023-11-30 18:39:33 +01:00
Adria Navarro
c86d949680 Add and dry tests 2023-11-30 18:39:33 +01:00
Adria Navarro
db6517bc0c Use real sleeps 2023-11-30 18:39:33 +01:00
Adria Navarro
078384941a Clean 2023-11-30 18:39:33 +01:00
Adria Navarro
9c12c5b62e Fix comments 2023-11-30 18:39:33 +01:00