gotosocial/vendor
kim acc95923da
[performance] processing media and scheduled jobs improvements (#1482)
* replace media workers with just runners.WorkerPool, move to state structure, use go-sched for global task scheduling

* improved code comment

* fix worker tryUntil function, update go-runners/go-sched

* make preprocess functions package public, use these where possible to stop doubled up processing

* remove separate emoji worker pool

* limit calls to time.Now() during media preprocessing

* use Processor{} to manage singular runtime of processing media

* ensure workers get started when media manager is used

* improved error setting in processing media, fix media test

* port changes from processingmedia to processing emoji

* finish code commenting

* finish code commenting and comment-out client API + federator worker pools until concurrency worker pools replaced

* linterrrrrrrrrrrrrrrr

---------

Signed-off-by: kim <grufwub@gmail.com>
2023-02-13 18:40:48 +00:00
..
codeberg.org/gruf [performance] processing media and scheduled jobs improvements (#1482) 2023-02-13 18:40:48 +00:00
github.com [performance] processing media and scheduled jobs improvements (#1482) 2023-02-13 18:40:48 +00:00
go.uber.org/automaxprocs [feature] Inherit resource limits from cgroups (#1336) 2023-01-17 20:59:04 +00:00
golang.org/x [chore]: Bump golang.org/x/image from 0.3.0 to 0.4.0 (#1485) 2023-02-13 07:44:04 +00:00
google.golang.org [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
gopkg.in [chore]: Bump github.com/coreos/go-oidc/v3 from 3.4.0 to 3.5.0 (#1322) 2023-01-09 08:23:49 +00:00
lukechampine.com/uint128 [chore] Update all but bun libraries (#526) 2022-05-02 15:05:18 +02:00
modernc.org [chore]: Bump modernc.org/sqlite from 1.20.3 to 1.20.4 (#1484) 2023-02-13 07:43:16 +00:00
mvdan.cc/xurls/v2 [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
modules.txt [performance] processing media and scheduled jobs improvements (#1482) 2023-02-13 18:40:48 +00:00