mirror of
1
Fork 0
gotosocial/vendor/codeberg.org/gruf
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
..
go-atomics [chore] consolidate caching libraries (#704) 2022-07-10 17:18:21 +02:00
go-bitutil [performance] processing media and scheduled jobs improvements (#1482) 2023-02-13 18:40:48 +00:00
go-bytes update dependencies (#296) 2021-11-13 12:29:08 +01:00
go-bytesize [chore]: Bump codeberg.org/gruf/go-bytesize from 1.0.0 to 1.0.2 (#1285) 2022-12-27 08:28:44 +00:00
go-byteutil [chore] consolidate caching libraries (#704) 2022-07-10 17:18:21 +02:00
go-cache/v3 [chore] pull in latest go-cache, go-runners versions (#1306) 2023-01-06 11:16:09 +01:00
go-debug [performance] processing media and scheduled jobs improvements (#1482) 2023-02-13 18:40:48 +00:00
go-errors/v2 [chore]: Bump codeberg.org/gruf/go-errors/v2 from 2.0.2 to 2.1.1 (#1346) 2023-01-17 11:25:13 +00:00
go-fastcopy [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00
go-fastpath [chore]: Bump codeberg.org/gruf/go-store/v2 from 2.0.9 to 2.0.10 (#1160) 2022-11-28 09:01:53 +00:00
go-hashenc [bugfix] Fix remote media pruning failing if media already gone (#548) 2022-05-08 18:49:45 +01:00
go-iotools [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00
go-kv [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
go-logger/v2 [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
go-mangler [chore] pull in latest go-cache, go-runners versions (#1306) 2023-01-06 11:16:09 +01:00
go-maps [feature] Read + Write tombstones for deleted Actors (#1005) 2022-11-11 12:18:38 +01:00
go-mutexes [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00
go-pools [bugfix] Fix remote media pruning failing if media already gone (#548) 2022-05-08 18:49:45 +01:00
go-runners [performance] processing media and scheduled jobs improvements (#1482) 2023-02-13 18:40:48 +00:00
go-sched [performance] processing media and scheduled jobs improvements (#1482) 2023-02-13 18:40:48 +00:00
go-store/v2 [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00