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
..
2022-04-15 21:33:00 +09:00
2021-11-12 10:35:41 +09:00
2022-09-20 01:04:08 +09:00
2023-02-23 17:36:36 +09:00
2021-11-12 10:35:41 +09:00
2023-02-07 19:50:38 +09:00
2023-04-06 20:22:26 +09:00
chore: ✌️
2022-12-24 14:39:17 +09:00

Misskey Backend