Commit graph

35 commits

Author SHA1 Message Date
Sven Slootweg 4163b7deb9 Fix config path resolution 2023-02-09 02:08:29 +01:00
Sven Slootweg 00685bb7e9 Do not store task result when item deletes itself 2023-02-09 02:08:17 +01:00
Sven Slootweg 8997a762ed Add missing index for aliases table 2022-11-27 00:15:45 +01:00
Sven Slootweg 96e368b432 Add missing index on tags table 2022-11-26 22:58:27 +01:00
Sven Slootweg 7c60c4fa6b Remove invalidation flag and update last-update timestamp on task completion, not on metadata update 2022-11-26 22:30:11 +01:00
Sven Slootweg 48e9f8372b Prioritize tasks that have never run at all 2022-11-26 21:09:07 +01:00
Sven Slootweg e40113a701 Track current queue sizes as a metric 2022-11-26 15:22:49 +01:00
Sven Slootweg 5b8e71c083 Don't automatically retry failures, and consider never-expiring results to always remain valid 2022-11-26 13:09:18 +01:00
Sven Slootweg 59b89a3459 Rewrite queue refill query to be much faster, fix duplicate tags 2022-11-26 02:08:24 +01:00
Sven Slootweg dbd15aa1d7 Update sync server to use refactored API 2022-11-25 00:21:05 +01:00
Sven Slootweg 6e172dd04d Make PostgreSQL pool size configurable 2022-11-24 23:44:07 +01:00
Sven Slootweg 919985bbd2 Improve empty-queue behaviour, reduce stampeding 2022-11-24 20:51:09 +01:00
Sven Slootweg 31742f8638 Pass task name into item metrics, not task object 2022-11-24 17:19:28 +01:00
Sven Slootweg f7cd69d7d0 Track locking metrics 2022-11-24 17:18:12 +01:00
Sven Slootweg e2f2fb6cb1 Remove obsolete handler 2022-11-24 17:17:54 +01:00
Sven Slootweg ea7cd67158 Fix race condition 2022-11-24 16:01:04 +01:00
Sven Slootweg b9b0e63454 Refactor to pre-generate task queue for performance, fix some refactoring errors, fix some model bugs 2022-11-23 20:15:52 +01:00
Sven Slootweg fb93e902a8 Merge branch 'backend-refactor' 2022-11-19 16:17:48 +01:00
Sven Slootweg 1e1a367cb2 Backend refactor: support pluggable backends 2022-11-19 16:17:05 +01:00
Sven Slootweg bc1a9349c3 Backend refactor WIP 2022-05-27 17:48:01 +02:00
Sven Slootweg 2a24de452e Add missing expireDependents mock 2022-03-06 18:24:43 +01:00
Sven Slootweg 5678040ef5 Add binaries to package.json 2022-03-04 14:51:14 +01:00
Sven Slootweg 54f178d910 Standardize CLI args 2022-03-04 03:18:21 +01:00
Sven Slootweg 522192f025 WIP, metrics 2022-03-04 01:47:44 +01:00
Sven Slootweg 90ef557a30 Table rename, Knex update, WIP sync, misc WIP 2021-12-09 10:12:11 +01:00
Sven Slootweg ef8e6bf5b6 WIP 2021-10-11 01:05:02 +02:00
Sven Slootweg 128b70fdae WIP 2021-10-09 20:16:34 +02:00
Sven Slootweg 1acc039897 WIP 2021-03-27 20:13:25 +01:00
Sven Slootweg b37db99618 Colorize logs 2021-03-21 01:18:08 +01:00
Sven Slootweg 96b3e5b9e3 Fix typo in dependency list format 2021-03-21 01:17:50 +01:00
Sven Slootweg ab227537dd Inline task_states for better performance 2021-03-21 00:43:13 +01:00
Sven Slootweg 731e41996b Log the actual task names involved 2021-03-21 00:40:03 +01:00
Sven Slootweg 882863af10 Index item_id properly on task-results 2021-03-21 00:39:23 +01:00
Sven Slootweg 6b6ab7332e WIP 2021-03-21 00:12:09 +01:00
Sven Slootweg 464853bd7c WIP 2021-03-18 23:49:16 +01:00