Commit Graph

19 Commits

Author SHA1 Message Date
John Crispin
d898a7afb5 prevent ip-collide script and apply task running in parallel
Signed-off-by: John Crispin <john@phrozen.org>
2023-07-27 12:05:06 +02:00
John Crispin
dd2da74b73 force SIGKILL when terminating a runqueu task
Signed-off-by: John Crispin <john@phrozen.org>
2023-01-25 16:33:27 +01:00
John Crispin
1fe60c4dcf propagate "cancelled" when a runqueue job timed out
Signed-off-by: John Crispin <john@phrozen.org>
2023-01-25 16:33:27 +01:00
John Crispin
a821772f98 task: add an additional runqueue for admin commands
This ensures that reboot, upgrade and factory always get executed immediatley.

Signed-off-by: John Crispin <john@phrozen.org>
2023-01-25 16:33:27 +01:00
John Crispin
095ade25a7 add state to telemetry streaming
Signed-off-by: John Crispin <john@phrozen.org>
2021-09-13 11:53:19 +02:00
John Crispin
8cfed4cd06 client: give the apply task its own runqueue
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-11 09:51:28 +02:00
John Crispin
f90775e85f client: fixes for the new data model
Signed-off-by: John Crispin <john@phrozen.org>
2021-05-16 17:24:16 +02:00
John Crispin
a00ce2fefc ucentral-client: move to bsd 3-clause
Signed-off-by: John Crispin <john@phrozen.org>
2021-03-25 06:53:15 +01:00
John Crispin
adbbd4001d ucentral-client: make health check a periodic task
Signed-off-by: John Crispin <john@phrozen.org>
2021-03-24 10:33:35 +01:00
John Crispin
a888d11711 ucentral-client: allow killing delayed tasks
Signed-off-by: John Crispin <john@phrozen.org>
2021-03-24 09:36:58 +01:00
John Crispin
29b99d82e3 ucentral-client: fix leaks reported by valgrind
Signed-off-by: John Crispin <john@phrozen.org>
2021-03-24 09:24:25 +01:00
John Crispin
85f5c8c433 ucentral-client: cleanup
Signed-off-by: John Crispin <john@phrozen.org>
2021-03-23 13:07:55 +01:00
John Crispin
fda0b0653b ucentral-client: add jsonrpc2.0 support
Signed-off-by: John Crispin <john@phrozen.org>
2021-03-16 13:07:57 +01:00
John Crispin
0cd5417eb0 ucentral-client: allow passing max timeout and delay along with a command
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-02 12:08:05 +01:00
John Crispin
20e31057d6 ucentral-client: cleanup cmd handling
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-02 11:58:15 +01:00
John Crispin
33ead05f37 ucentral-client: add in-band cmd support
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-01 10:53:21 +01:00
John Crispin
64f7415d39 ucentral: rebrand
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-27 10:20:37 +01:00
John Crispin
51dbfa81c0 usync-client: convert all uuids to time_t
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-17 18:29:50 +01:00
John Crispin
b47ab673b3 usync-client: start using runqueue to prevent stray script locks
Signed-off-by: John Crispin <john@phrozen.org>
2020-11-17 18:29:50 +01:00