46 Commits (master)

Author SHA1 Message Date
ansuz b56c73be6e delegate more work from getOlderHistory to the worker 9 months ago
ansuz 4e57e390da write tasks inside of workers 9 months ago
ansuz 0465f31a45 add a FIXME note 9 months ago
ansuz e0a6852b79 correctly serialize an error log 9 months ago
ansuz 834c96a4fc update comments and remove some notes 9 months ago
ansuz ed5d97f899 WIP history-keeper fixes 9 months ago
ansuz 77961e3954 trim lookup tables for channels without checkpoints 9 months ago
ansuz b5649707d1 export 'tryParse' command 9 months ago
ansuz 64b0879984 improve logging for parse errors 9 months ago
ansuz 9dbd32758a improve worker logging and move blob deletion to worker processes as well 9 months ago
ansuz 5f2d7c8dcf increase worker rpc wait time before timeout 9 months ago
ansuz 33e8e65507 handle errors in the server's workers 9 months ago
ansuz a4c8039cc7 improve error handling with rpc response API 9 months ago
ansuz 14feef1757 calculate pin list checksums in a worker 9 months ago
ansuz 70a0d4efb4 move more database reads into the database worker 9 months ago
ansuz 4ba36a9173 load user pins in the database worker 9 months ago
ansuz 50e8893b24 move the 'getOlderHistory' call into the database worker 9 months ago
ansuz 471e374533 compute metadata in the same child process that builds indexes 10 months ago
ansuz 967ca6afa9 suppress ENOENT errors when checking empty chat channels 10 months ago
ansuz 40251948d4 check authenticated rpc signatures in separate threads 10 months ago
ansuz 2ef0af29e5 guard against index worker rpc responses for a txid with no supplied callback 10 months ago
ansuz 4522ffa18a compute indexes in child processes 10 months ago
ansuz f8ad649b45 [style] bail out early to avoid nesting 10 months ago
ansuz 019e5e708b wrap workers in a function scope and add a validateMessage method to HK's Env 10 months ago
ansuz 5467e1ffac replace ad-hoc response handler with Util.response 10 months ago
ansuz 9e85a1411e abstract the logic around worker choice out of message handling 10 months ago
yflory 923616aef0 Use each process in order instead of using a random one 10 months ago
yflory fb0eb1b20c Use more subprocesses 10 months ago
yflory 0d636dabc9 Check signature for history keeper in a different process 10 months ago
yflory 578042154e Better reconnect after invalid lastKnownHash 10 months ago
ansuz bc034d95a3 enforce asynchrony in 'gethistoryOffset' 10 months ago
ansuz 4e8ebac3c1 guard against the possible non-existence of metadata for a channel 10 months ago
ansuz 9d8bb43d03 finally untangle metadata and index caches 10 months ago
ansuz 170aa6d47e clean up a few tasks related to allow lists 10 months ago
ansuz 542150b775 merge server components from staging 10 months ago
ansuz e8142d983b fix an invalid use of dropChannel 11 months ago
ansuz 386add7c58 fix an invalid use of dropChannel 11 months ago
ansuz fe0e02a421 restrict access to metadata 11 months ago
ansuz 791aad53f2 WIP allow list changes 11 months ago
ansuz 597f417ad6 WIP block history requests that bypass JOIN restriction (where appropriate) 11 months ago
ansuz f579c9b059 semi-functional allow-list implementation in historyKeeper 11 months ago
ansuz eac3e4cbcd sketch out some historyKeeper functionality related to access lists 11 months ago
ansuz a4be6185de merge staging and do a little lint compliance 11 months ago
ansuz 3f606d8c75 remove some duplicated code 11 months ago
ansuz 57be324850 remove some XXX notes 11 months ago
ansuz 7000be0e70 clean up historykeeper 11 months ago
ansuz b922860339 drop usage of historyKeeper.setConfig 11 months ago
ansuz 9cdf54aff2 untested implementation of trimHistory 1 year ago