Commit graph

71 commits

Author SHA1 Message Date
Daniel
ddf230b33e Add option to disable module management 2022-09-22 14:36:32 +02:00
Daniel
47f071ac9b Stop logging an error for canceled tasks and workers 2022-08-12 13:27:33 +02:00
Daniel
aabd4fef77 Fix microtask signaling and improve tests 2022-08-01 11:14:28 +02:00
Daniel
7fec4f5428 Add microtask queues and signaling 2022-08-01 11:14:28 +02:00
Daniel
b001302cb2 Add options to disable task repeating and schedule 2022-07-29 13:59:57 +02:00
Daniel
f3591e81c3 Fix update cycle to notification attach to module 2022-06-21 16:58:06 +02:00
Daniel
3f8f50ad1f Allow tasks to schedule themselves in-task 2022-04-26 14:35:52 +02:00
Daniel
6650fb3b19 Update linter settings and fix warnings 2022-02-02 14:58:27 +01:00
Daniel
3e4e0c361d Fix or disable new linters 2022-02-01 13:40:50 +01:00
Daniel
f59ad0357a Fix tests and linter warnings 2022-02-01 13:12:46 +01:00
Daniel
50212d7596 Improve metrics pkg and fix linter warnings 2021-12-21 17:29:51 +01:00
Daniel
1dfba1d596 Report module mgmt errors as module error messages 2021-11-17 14:24:26 +01:00
Daniel
a92d8f47f0 Revert testing code 2021-10-14 16:00:15 +02:00
Daniel
3597a6900e Fix failure updating during module shutdown 2021-10-14 14:11:27 +02:00
Daniel
e7ae898ddb Add global shutdown hook function to modules 2021-10-07 14:23:49 +02:00
Daniel
f999cb027f Revert testing code 2021-10-06 16:57:10 +02:00
Daniel
ac0a5176b3 Implement review suggestions 2021-09-27 12:50:50 +02:00
Daniel
483cbad600 Use module counters instead of waitgroup when shutting down 2021-09-26 13:42:26 +02:00
Daniel
ae13d87aed Use workers for module failure mirroring and fix mirror looping 2021-05-17 16:05:50 +02:00
Daniel
0bd4366a07 Fix tests 2021-05-13 17:49:11 +02:00
Daniel
c26b18edb4 Fix module failure mirror 2021-05-12 15:37:24 +02:00
Daniel
3f3786b854 Improve module failure status notify callback handling 2021-05-05 17:46:09 +02:00
Daniel
2157351757 Add internal tasks call, rename Prioritize to QueuePrioritized 2021-05-05 17:45:33 +02:00
Daniel
f18c0c5564 Improve events and expose them via the runtime database 2021-05-05 00:13:50 +02:00
Daniel
ca19f4a44b Improve notifications and module failures and mirror them 2021-05-05 00:12:43 +02:00
Daniel
9429a3261e Add cmd line util for modules 2021-01-19 15:36:53 +01:00
Daniel
5daeac8cf7 Add basic debug api endpoints 2020-12-30 23:50:17 +01:00
Daniel
f8529cf530 Add debug snippet for debugging non-attributable performance issues 2020-12-01 19:24:41 +01:00
Daniel
85e36e3d68 Fix dependency loop when a module fails to shut down 2020-11-24 16:12:36 +01:00
Daniel
8a0c3a077c Fix linter errors and update deps 2020-10-29 14:28:09 +01:00
Patrick Pacher
4756896d32
Fix locking when pushing subsystem updates 2020-10-08 09:13:16 +02:00
Patrick Pacher
9266dc885d
Fix minor bugs in the runtime registry 2020-09-30 08:34:42 +02:00
Patrick Pacher
0464f5be48
Review related changes 2020-09-22 16:53:10 +02:00
Patrick Pacher
1b55c73559
Refactor subsystem package 2020-09-22 16:53:10 +02:00
Patrick Pacher
330e6bd1f1
Add PossibleValues support and option annotations 2020-09-15 09:00:58 +02:00
Daniel
2ad0ead72b Fix shutdown of failing service workers 2020-08-11 18:14:22 +02:00
Daniel
4dcec099e6 Improve exported module and subsystem states 2020-06-15 15:49:32 +02:00
Daniel
3c7af2102d Increase test timeout to mitigate false positive fails 2020-06-05 13:58:02 +02:00
Daniel
0e779b8df6 Increase module start/stop timeouts 2020-05-29 10:52:33 +02:00
Daniel
f5611857b8 Print subsystem module group in addition to subsystem dep graph 2020-05-02 13:22:54 +02:00
Daniel
4a4df3e134 Add InjectEvent function 2020-04-24 09:52:58 +02:00
Daniel
adcc916a6a Fix and improve task management 2020-04-24 09:52:42 +02:00
Daniel
65d47e2974 Fix nil check error marked by linter 2020-04-21 14:12:15 +02:00
Daniel
f074aa5770 Simplify subsystems data structure 2020-04-14 16:27:43 +02:00
Daniel
7ab46a8d1e Reintroduce base module 2020-04-02 17:11:08 +02:00
Daniel
ddb04a8548 Add ID to subsystems, improve graph 2020-04-02 17:10:51 +02:00
Daniel
8d05b0b7c4 Improve modules and subsystems packages 2020-04-01 17:10:43 +02:00
Daniel
b4f014574b Add subsystems package and make modules able to be turned off and on 2020-02-18 15:40:36 +01:00
Daniel
2508d28465 Improve modules package 2019-10-25 13:38:37 +02:00
Daniel
21264f4d1f Add event hooking to modules 2019-10-09 16:36:00 +02:00