Sharkey/packages/backend/src/core
tamaina 978a9bbb3b
perf(backend): Use undici instead of node-fetch and got (#9459)
* Implement? HttpFetchService

* ✌️

* remove node-fetch

* fix

* refactor

* fix

* gateway timeout

* UndiciFetcherクラスを追加 (仮コミット, ビルドもstartもさせていない)

* fix

* add logger and fix url preview

* fix ip check

* enhance logger and error handling

* fix

* fix

* clean up

* Use custom fetcher for ApRequest / ApResolver

* bypassProxyはproxyBypassHostsに判断を委譲するように

* set maxRedirections (default 3, ApRequest/ApResolver: 0)

* fix comment

* handle error s3 upload

* add debug message

* no return await

* Revert "no return await"

This reverts commit b5b0dc58a342393d260492e3a6f58304372f53b2.

* reduce maxSockets

* apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger

* Revert "apResolverのUndiciFetcherを廃止しapRequestのものを使う、 add ap logger"

This reverts commit 997243915c8e1f8472da64f607f88c36cb1d5cb4.

* add logger

* fix

* change logger name

* safe

* デフォルトでUser-Agentを設定
2023-01-12 21:03:02 +09:00
..
activitypub perf(backend): Use undici instead of node-fetch and got (#9459) 2023-01-12 21:03:02 +09:00
chart drop lastCommunicatedAt of instance 2023-01-03 09:00:42 +09:00
entities Role (#9437) 2023-01-12 21:02:26 +09:00
AccountUpdateService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
AiService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
AntennaService.ts fix(server): アンテナタイムライン(ストリーミング)が、フォローしていないユーザーの鍵投稿も拾ってしまう問題を修正 2023-01-09 14:12:42 +09:00
AppLockService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
CaptchaService.ts perf(backend): Use undici instead of node-fetch and got (#9459) 2023-01-12 21:03:02 +09:00
CoreModule.ts Role (#9437) 2023-01-12 21:02:26 +09:00
CreateNotificationService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
CreateSystemUserService.ts Role (#9437) 2023-01-12 21:02:26 +09:00
CustomEmojiService.ts enhance(server): clean emoji response 2022-12-31 08:43:13 +09:00
DeleteAccountService.ts Role (#9437) 2023-01-12 21:02:26 +09:00
DownloadService.ts perf(backend): Use undici instead of node-fetch and got (#9459) 2023-01-12 21:03:02 +09:00
DriveService.ts perf(backend): Use undici instead of node-fetch and got (#9459) 2023-01-12 21:03:02 +09:00
EmailService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
FederatedInstanceService.ts ✌️ 2023-01-03 09:32:36 +09:00
FetchInstanceMetadataService.ts perf(backend): Use undici instead of node-fetch and got (#9459) 2023-01-12 21:03:02 +09:00
FileInfoService.ts fix(server): 特定のPNG画像のアップロードに失敗する問題を修正 2023-01-09 14:03:22 +09:00
GlobalEventService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
HashtagService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
HttpRequestService.ts perf(backend): Use undici instead of node-fetch and got (#9459) 2023-01-12 21:03:02 +09:00
IdService.ts fix: typo (#9300) 2022-12-10 08:55:07 +09:00
ImageProcessingService.ts enhance: Proxy custom emojis to reduce image size and accelerate the frontend (#9431) 2022-12-30 12:00:50 +09:00
InstanceActorService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
InternalStorageService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
LoggerService.ts Fix import related TypeScript errors (#9321) 2022-12-14 00:01:45 +09:00
MessagingService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
MetaService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
MfmService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
ModerationLogService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
NoteCreateService.ts Role (#9437) 2023-01-12 21:02:26 +09:00
NoteDeleteService.ts ✌️ 2023-01-03 09:32:36 +09:00
NotePiningService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
NoteReadService.ts enhance: Push notification of Antenna note (#9338) 2022-12-18 19:50:02 +09:00
NotificationService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
PollService.ts delete pollVote notification 2023-01-08 10:54:45 +09:00
ProxyAccountService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
PushNotificationService.ts chore: remove unused function (truncateUnreadAntennaNote) 2023-01-04 11:09:05 +00:00
QueryService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
QueueModule.ts refactor 2022-12-04 10:16:03 +09:00
QueueService.ts feat: make possible to export favorited notes 2023-01-01 16:53:10 +09:00
ReactionService.ts fix: use || for emoji url fallback instead of ?? 2022-12-30 13:37:58 +00:00
RelayService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
RemoteLoggerService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
RemoteUserResolveService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
RoleService.ts Role (#9437) 2023-01-12 21:02:26 +09:00
S3Service.ts perf(backend): Use undici instead of node-fetch and got (#9459) 2023-01-12 21:03:02 +09:00
SignupService.ts Role (#9437) 2023-01-12 21:02:26 +09:00
TwoFactorAuthenticationService.ts chore: fix import position 2022-12-04 17:05:32 +09:00
UserBlockingService.ts Fix: Block delivery (#9397) 2022-12-26 17:05:44 +09:00
UserCacheService.ts Role (#9437) 2023-01-12 21:02:26 +09:00
UserFollowingService.ts ✌️ 2023-01-03 09:32:36 +09:00
UserKeypairStoreService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
UserListService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
UserMutingService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
UserSuspendService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
UtilityService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
VideoProcessingService.ts enhance: convert video thumbnail to webp 2022-12-24 16:03:05 +00:00
WebfingerService.ts perf(backend): Use undici instead of node-fetch and got (#9459) 2023-01-12 21:03:02 +09:00
WebhookService.ts refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00