hippofish/packages/backend/src/queue
Namekuji da83322200
feat: queueing bulk follow/unfollow and block/unblock (#10544)
* wrap follow/unfollow and block/unblock as job queue

* create import job to follow in each iteration

* make relationship jobs concurrent

* replace to job queue if called repeatedly

* use addBulk to import

* omit stream when importing

* fix job caller

* use ThinUser instead of User to reduce redis memory consumption

* createImportFollowingToDbJobの呼び出し方を変える, 型補強

* Force ThinUser

* オブジェクト操作のみのメソッド名はgenerate...Data

* Force ThinUser in generateRelationshipJobData

* silent bulk unfollow at admin api endpoint

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-04-12 09:13:58 +09:00
..
processors feat: queueing bulk follow/unfollow and block/unblock (#10544) 2023-04-12 09:13:58 +09:00
DbQueueProcessorsService.ts feat: queueing bulk follow/unfollow and block/unblock (#10544) 2023-04-12 09:13:58 +09:00
get-job-info.ts refactor: Use ESM (#8358) 2022-02-27 11:07:39 +09:00
ObjectStorageQueueProcessorsService.ts refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
QueueLoggerService.ts refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
QueueProcessorModule.ts feat: queueing bulk follow/unfollow and block/unblock (#10544) 2023-04-12 09:13:58 +09:00
QueueProcessorService.ts feat: queueing bulk follow/unfollow and block/unblock (#10544) 2023-04-12 09:13:58 +09:00
RelationshipQueueProcessorsService.ts feat: queueing bulk follow/unfollow and block/unblock (#10544) 2023-04-12 09:13:58 +09:00
SystemQueueProcessorsService.ts feat: introduce retention-rate aggregation 2022-12-25 09:09:46 +09:00
types.ts feat: queueing bulk follow/unfollow and block/unblock (#10544) 2023-04-12 09:13:58 +09:00