sharkey/packages/backend/src
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
..
@types chore: add tiny definition for redis-lock (#9971) 2023-02-22 14:51:34 +09:00
boot test(backend): APIテストの復活 (#10163) 2023-03-03 11:13:12 +09:00
core feat: queueing bulk follow/unfollow and block/unblock (#10544) 2023-04-12 09:13:58 +09:00
daemons refactor: remove all unused imports (#9951) 2023-02-16 23:09:41 +09:00
misc カスタム絵文字のキャッシュ時に"{}"が入ってしまう問題を修正 (#10573) 2023-04-11 07:39:46 +09:00
models feat: account migration (#10507) 2023-04-08 14:16:26 +09:00
queue feat: queueing bulk follow/unfollow and block/unblock (#10544) 2023-04-12 09:13:58 +09:00
server feat: queueing bulk follow/unfollow and block/unblock (#10544) 2023-04-12 09:13:58 +09:00
config.ts fix type 2023-04-08 15:59:41 +09:00
const.ts refactor 2022-12-25 14:22:23 +09:00
decorators.ts refactor: fix types 2023-02-09 10:50:53 +09:00
di-symbols.ts fix(backend): イベント用redis分離が上手く動かない問題を修正 2023-04-09 17:09:27 +09:00
env.ts Fastify (#9106) 2022-12-03 19:42:05 +09:00
global.d.ts refactoring 2021-11-12 02:02:25 +09:00
GlobalModule.ts fix(backend): イベント用redis分離が上手く動かない問題を修正 2023-04-09 17:09:27 +09:00
logger.ts refactor: fix types 2023-02-09 11:46:08 +09:00
MainModule.ts enhance(server): separate job queue process (#9662) 2023-01-21 14:09:01 +09:00
NestLogger.ts improve nest logger 2022-12-10 15:45:30 +09:00
postgres.ts feat(backend): support replication of postgresql 2023-04-08 15:53:36 +09:00
types.ts fix: i/notificationsで古い通知タイプを許容するなど、古い通知タイプの清算 (#10042) 2023-02-23 20:46:14 +09:00