Commit graph

87 commits

Author SHA1 Message Date
Daniel
b15a4aac46 Add ready API endpoint and temporarily "backport" to ping 2024-04-23 10:46:50 +02:00
Daniel
3b22f8497d Improve stopping of modules 2023-10-13 11:46:17 +02:00
Daniel
3dbffd9c1a Improve handling of service worker errors 2023-10-12 17:18:02 +02:00
Daniel
1f542005cc Fix comment 2023-10-03 11:21:44 +02:00
Daniel
076ea970af Only parse flags if not yet parsed 2023-07-20 14:53:06 +02:00
Daniel
ee9f722a9c Make linter happy 2023-07-20 14:48:14 +02:00
Vladimir Stoilov
d14791df9f Improve task scheduler sleep mode 2023-04-20 15:03:15 +02:00
Vladimir Stoilov
ad52a8dc1b Fix linter error 2023-04-20 10:18:51 +02:00
Vladimir Stoilov
0ed865f4e4 Add support for module sleep mode 2023-04-19 17:38:56 +02:00
Daniel
1ae8c0698e Add TODO to improve module worker context 2023-04-06 14:34:46 +02:00
Vladimir Stoilov
7cdb71c461 Fix typos 2023-03-14 12:27:57 +01:00
Daniel
d90d14ce02 Improve error handling in api and modules 2022-12-12 14:07:30 +01:00
Daniel
70b58138b9 Set default microtask threshold in init for easier override 2022-11-04 16:11:38 +01:00
Daniel
d21c8e6cda Add module status export func and api endpoint 2022-11-04 16:10:57 +01:00
Daniel
412b4242c2 FIx linter errors 2022-09-29 10:55:01 +02:00
Daniel
3c697abd5b Fix linter errors 2022-09-28 22:37:54 +02:00
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