Commit Graph

39 Commits

Author SHA1 Message Date
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
ansuz 3f86b6141e rename worker processes 2020-03-27 15:14:45 -04:00
ansuz d8a88cb4ca run expiration tasks in a worker instead of the main process 2020-03-27 14:38:58 -04:00
ansuz 9dbd32758a improve worker logging and move blob deletion to worker processes as well 2020-03-27 13:38:27 -04:00