Commit graph

32 commits

Author SHA1 Message Date
ed 8aba5aed4f list active downloads in controlpanel 2024-11-10 02:12:18 +00:00
ed 4e75534ef8 optimize BrokerThr, 7x faster:
reduce the overhead of function-calls from the client thread
to the svchub singletons (up2k, thumbs, metrics) down to 14%

and optimize up2k chunk-receiver to spend 5x less time bookkeeping
which restores up2k performance to before introducing incoming-ETA
2024-09-11 20:37:10 +00:00
ed b5405174ec add login sessions 2024-09-09 23:39:20 +00:00
ed 87c60a1ec9 ensure OS signals hit main-thread as intended;
use sigmasks to block SIGINT, SIGTERM, SIGUSR1 from all other threads

also initiate shutdown by calling sighandler directly,
in case this misses anything and that is still unreliable
(discovered by `--exit=idx` being noop once in a blue moon)
2024-05-09 22:28:16 +00:00
ed 8c52b88767 make linters happier 2023-11-30 17:33:07 +00:00
ed aa96a1acdc misc optimizations / cleanup:
* slightly faster startup / shutdown
* forgot a jinja2 golf
* waste 4KiB changing prismjs back to gz since brotli is https-gated ;_;
* broke support for firefox<52 (non-var functions must be toplevel
   or immediately within another function), now even firefox 10 /
   centos 6 is somewhat supported again
2023-09-17 13:02:18 +00:00
ed 8b0cf2c982 volflags to limit volume size / num files; closes #40 2023-06-19 00:42:45 +00:00
ed 87181726b0 sfx: fix multiprocessing on windows 2022-12-07 22:21:28 +00:00
ed f0e78a6826 add landing page with mounting instructions 2022-11-26 19:47:27 +00:00
ed edad3246e0 make pylance happier 2022-10-29 20:40:25 +00:00
ed 4bcd30da6b cleaner daemon instancing 2022-10-23 12:05:44 +02:00
ed 558bfa4e1e siocoutq-based shutdown 2022-08-31 01:16:09 +02:00
ed 5d19f23372 accurate num.cores detection 2022-08-29 19:24:48 +02:00
ed 438384425a add types, isort, errorhandling 2022-06-16 01:07:15 +02:00
ed f050647b43 rescan volumes on sigusr1 2021-11-06 18:20:31 +01:00
ed 73baebbd16 initial sigusr1 acc/vol reload 2021-11-06 07:15:04 +01:00
ed 1ad7a3f378 await and monitor workers on startup 2021-07-27 15:48:00 +00:00
ed 578a915884 stack/thread monitors in mpw + better thread names 2021-07-12 23:03:52 +02:00
ed 6c3a976222 scale max-clients to mp-workers 2021-07-09 16:48:02 +02:00
ed 8fcde2a579 move tcp accept into mp-worker 2021-07-09 15:49:36 +02:00
ed 9d729d3d1a add thread names 2021-06-08 20:14:23 +02:00
ed 28dce13776 no load-balancer spam when -q 2021-03-28 03:06:52 +02:00
ed 47bc8bb466 multiprocessing adds latency; default to off 2020-05-16 02:05:18 +02:00
ed 5283837e6d windows fixes 2020-04-20 03:19:58 +00:00
ed 10652427bc add mkdir + keep mtime + bump max-size 2020-04-14 22:42:43 +00:00
ed 85454e409a windows support + add quiet mode 2019-09-26 15:59:14 +00:00
ed ea7c82c5e4 print() can deadlock 👁👄👁 2019-07-03 22:25:51 +00:00
ed 1b43ed9432 fix mojibake (...and py2.7) 2019-07-02 21:25:54 +00:00
ed 2a09349c14 mp debug 2019-07-02 00:43:00 +00:00
ed 19d6487eaf serialize exceptions across mp 2019-07-02 00:10:09 +00:00
ed 9da6a73044 full-duplex broker for up2k-registry 2019-07-01 02:42:29 +02:00
ed 241b022520 add broker 2019-06-18 18:33:02 +00:00