Mario Vavti
c9d4b068c2
remove extensiv logging to syslog
2024-11-09 12:49:10 +01:00
Mario Vavti
45c0091d3d
more work on porting containers from streams
2024-10-09 18:17:37 +02:00
Mario
2d467a15ba
dbesc the workinfo json
2024-07-15 10:29:12 +00:00
Harald Eilertsen
40a93d92c8
Missing include in QueueWorker.
2024-06-15 13:01:17 +02:00
Harald Eilertsen
d139f2fe87
QueueWorker: Use DbaTransaction class for db transactions.
...
This makes sure that the system knows whether a transaction is active or
not, and ensures automatic cleanup if the transaction is not closed
before the methods return.
It also allows us to run this code in tests. When run within a test, the
transaction will be ignored, as the entire test is run within an
already existing transaction. Also as each test has their own db
connection, this should not have any ill effects, as there should not be
any way in which different simultaneous connections can interfere with
the db updates.
2024-06-14 12:10:35 +02:00
Harald Eilertsen
0dc959d9fe
Deprecate *_config() functions in core.
2024-03-24 09:58:21 +00:00
Mario
bd9cc23681
update logger statements
2023-10-20 09:30:52 +00:00
Mario Vavti
d8811b499d
improved item_expire()
2023-04-14 09:21:33 +02:00
Mario
1538107ae4
minor queueworker fixes
2023-04-08 20:25:31 +00:00
Mario
ea2b653b9b
queueworker: do not wait for locked rows, use skip locked if configured via system.db_skip_locked_supported
2023-02-08 11:03:29 +00:00
Mario
9c3660e2f6
remove superfluous semicolon
2023-02-01 10:02:35 +00:00
Mario
29776ecea2
queueworker: implement auto_queue_worker_sleep setting in frontend
2023-01-03 13:50:22 +00:00
Mario
999e142370
minor cleanup
2022-12-22 10:09:35 +00:00
Mario
a7ad117a83
there is no point in wrapping single queries into a transaction
2022-12-22 10:02:31 +00:00
Mario
e5c70a1304
queueworker: adjust process query to be complient with mariadb < 10.6 and add process timeout exceptions for long running processes
2022-12-21 17:11:33 +00:00
Mario
e36677b757
queueworker: cleanup and implement auto sleep interval (hidden config for now)
2022-12-18 10:19:06 +00:00
Mario
4d54755057
queueworker: fix maxworkers check and cleanup
2022-12-15 16:53:17 +00:00
Mario
2f687de477
queueworker testing and more logging to syslog
2022-12-15 09:18:58 +00:00
Mario Vavti
c9e170dfcc
queueworker: introduce new interval config queueworker.queue_interval - defaults to 500000 microseconds. No config UI yet.
2022-12-12 23:26:45 +01:00
Mario
1c17768dc5
minor fixes
2022-12-11 10:40:02 +00:00
Mario
86e1dd4673
remove debug logging
2022-12-10 17:06:54 +00:00
Mario
e1c2835173
add option to set worker sleep based on load average, remove redundand code and add return to some daemons
2022-12-10 17:03:57 +00:00
Mario
2bb58843ab
move queueworker to core and bump version
2022-12-02 19:22:19 +00:00