Commit Graph

53 Commits

Author SHA1 Message Date
yflory
708850ac37 Fix plugin issues 2025-04-03 17:38:12 +02:00
yflory
523ea45496 Clean XXX 2025-03-24 16:16:34 +01:00
yflory
61955353a7
Merge pull request #1796 from cryptpad/worker-reload
Reload server subprocesses after a configured number of tasks
2025-03-12 17:54:41 +01:00
yflory
5b56b8da93 lint compliance 2025-02-27 16:24:47 +01:00
yflory
912b178a72 Update log level of db-worker replacement 2025-02-27 16:23:50 +01:00
yflory
39add4c14e Update worker limit 2025-02-26 18:36:41 +01:00
yflory
a7c8d5cec5 Restart db-workers after a given number of tasks 2025-02-24 17:04:33 +01:00
yflory
5fbcd78ab3 Fallback to owners proofs during migration 2025-01-10 17:23:06 +01:00
yflory
2cb653035c Merge branch 'worker-issues' into 2024.9.1-rc 2024-11-13 17:33:54 +01:00
yflory
7a9cb07bb8 Improve tools for monitoring plugin 2024-11-05 18:44:57 +01:00
yflory
6b80d35527 Fix merge issue 2024-11-04 18:12:04 +01:00
yflory
1aecb4fbab Improve plugins options and support monitoring plugin 2024-10-17 17:09:08 +02:00
yflory
c768665047 Fix worker substitution issues after crash 2024-10-07 18:22:13 +02:00
Wolfgang Ginolas
1f54b8b26d Tighten eslint rules 2024-04-05 08:35:01 +02:00
Wolfgang Ginolas
fdc86ab130 Remove jshint 2024-03-01 07:44:00 +01:00
David Benque
8f0a6319a5 Apply headers 2023-10-20 15:35:26 +01:00
yflory
91af47994b Placeholder on file deletion 2023-09-07 17:03:20 +02:00
ansuz
b5a01231b7 Merge branch '5.3-storage' into merge-storage 2023-03-07 14:49:28 +05:30
ansuz
d8ef2c8371 print login block size when it exceeds the maximum 2023-03-07 13:30:30 +05:30
ansuz
b0d10c3777 oops - fix inverted not 2023-01-11 15:08:16 +05:30
ansuz
4968bbf961 WIP limit on block size 2023-01-11 14:50:16 +05:30
ansuz
c762353cad interpret maxWorkers config in lib/env instead of in worker handler 2022-12-07 13:04:07 +05:30
ansuz
60e58e8f7a first version of admin 'database' tab 2022-08-11 11:53:03 +05:30
ansuz
ebcb6b2ab0 log child process ids in the event of an RPC timeout 2022-02-03 15:11:26 +05:30
ansuz
7c7acbeae6 delegate block validation to workers 2021-06-28 15:07:48 +05:30
ansuz
729d51fb9b update block storage APIs 2021-04-29 13:32:19 +05:30
ansuz
fed04a025c display size of uploaded files upon completion 2020-12-23 17:21:06 +05:30
ansuz
93d56e5e3d profile worker commands by total running time in seconds 2020-12-08 10:44:46 +05:30
ansuz
faa84bcbd7 describe arguments for 'completeUpload' RPC 2020-11-19 12:16:02 +05:30
ansuz
e185008846 complete uploads in child processes
also fix a nasty race condition for unowned file uploads
2020-11-18 18:26:21 +05:30
ansuz
b155f7b291 increase child-process timeout and improve error handling 2020-11-17 16:09:47 +05:30
ansuz
fbfb25bf29 lint compliance 2020-10-21 21:29:52 +05:30
ansuz
100b417646 guard against several serverside typeErrors
and warn in cases where they would have occurred
2020-10-21 18:24:54 +05:30
ansuz
90f046f896 prevent long-running worker tasks from timing out 2020-10-14 17:18:57 +05:30
ansuz
d509fd8b8f downgrade severity of several XXX notes 2020-10-07 17:09:46 +05:30
yflory
e698241ee9 Merge branch 'historyOO' into staging 2020-10-05 16:41:23 +02:00
ansuz
04d1bc9cd7 archive inactive data in one of the server's workers 2020-09-30 14:45:52 +05:30
yflory
b31707098a Improve getHistoryRange to support 'toHash' 2020-09-18 12:42:09 +02:00
ansuz
9f1f01f3b4 disable worker task queueing and address a probable memory leak 2020-05-05 18:06:28 -04:00
ansuz
b0af6b5488 fix an incorrect condition when checking for available server workers
Also, log when the RPC queue has a backlog and when it is drained
2020-05-05 10:53:42 -04:00
ansuz
9975c27e84 increase timeout from one minute to three and decrease the number of parallel jobs per worker 2020-04-29 17:24:38 -04:00
ansuz
e05891184e fix regression in maxWorkers 2020-04-21 12:23:48 -04:00
ansuz
b56c73be6e delegate more work from getOlderHistory to the worker 2020-04-17 17:01:47 -04:00
ansuz
4e57e390da write tasks inside of workers 2020-04-16 16:37:24 -04:00
ansuz
ba6faca02e make the number of workers configurable 2020-04-16 13:53:45 -04:00
ansuz
04ab7f538a recover from worker faults and unify worker types 2020-04-16 13:02:07 -04:00
ansuz
e8b1fcf710 solve some cases where crashing workers could result in an invalid state for the queue 2020-04-15 13:59:54 -04:00
ansuz
c53675c9d5 WIP worker rpc call queue 2020-04-06 10:28:26 -04:00
ansuz
cbd3547814 remove log statements 2020-03-27 17:20:57 -04:00
ansuz
9058a59555 reassign db tasks if the responsible worker fails 2020-03-27 17:17:42 -04:00