Commit Graph

27 Commits (45dff2f5c460c613424d8fe86c43769961a9de58)

Author SHA1 Message Date
ansuz fed04a025c display size of uploaded files upon completion
ansuz 93d56e5e3d profile worker commands by total running time in seconds
ansuz faa84bcbd7 describe arguments for 'completeUpload' RPC
ansuz e185008846 complete uploads in child processes
also fix a nasty race condition for unowned file uploads
ansuz b155f7b291 increase child-process timeout and improve error handling
ansuz fbfb25bf29 lint compliance
ansuz 100b417646 guard against several serverside typeErrors
and warn in cases where they would have occurred
ansuz 90f046f896 prevent long-running worker tasks from timing out
ansuz d509fd8b8f downgrade severity of several XXX notes
yflory e698241ee9 Merge branch 'historyOO' into staging
ansuz 04d1bc9cd7 archive inactive data in one of the server's workers
yflory b31707098a Improve getHistoryRange to support 'toHash'
ansuz 9f1f01f3b4 disable worker task queueing and address a probable memory leak
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
ansuz 9975c27e84 increase timeout from one minute to three and decrease the number of parallel jobs per worker
ansuz e05891184e fix regression in maxWorkers
ansuz b56c73be6e delegate more work from getOlderHistory to the worker
ansuz 4e57e390da write tasks inside of workers
ansuz ba6faca02e make the number of workers configurable
ansuz 04ab7f538a recover from worker faults and unify worker types
ansuz e8b1fcf710 solve some cases where crashing workers could result in an invalid state for the queue
ansuz c53675c9d5 WIP worker rpc call queue
ansuz cbd3547814 remove log statements
ansuz 9058a59555 reassign db tasks if the responsible worker fails
ansuz 3f86b6141e rename worker processes
ansuz d8a88cb4ca run expiration tasks in a worker instead of the main process
ansuz 9dbd32758a improve worker logging and move blob deletion to worker processes as well