Sharkey/packages/backend/src/server/api/endpoints/admin/federation
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
..
delete-all-files.ts fix import type 2022-09-21 05:33:11 +09:00
refresh-remote-instance-metadata.ts fix import type 2022-09-21 05:33:11 +09:00
remove-all-following.ts feat: queueing bulk follow/unfollow and block/unblock (#10544) 2023-04-12 09:13:58 +09:00
update-instance.ts fix import type 2022-09-21 05:33:11 +09:00