egirlskey/packages/backend
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
..
.vscode Update settings.json 2022-04-15 21:33:00 +09:00
assets enhance: Push Notification badges to Tabler Icons (#9406) 2023-01-08 16:47:57 +09:00
migration Role (#9437) 2023-01-12 21:02:26 +09:00
nsfw-model feat: auto nsfw detection (#8840) 2022-07-07 21:06:37 +09:00
src perf(backend): Use undici instead of node-fetch and got (#9459) 2023-01-12 21:03:02 +09:00
test Remove redundant ts-node things (#9335) 2022-12-18 07:51:31 +09:00
.eslintignore use eslint 2021-11-12 10:35:41 +09:00
.eslintrc.cjs test: __dirnameはESModuleでは使えないので置き換えた (#8626) 2022-05-14 16:09:47 +09:00
.madgerc Create .madgerc 2022-09-20 01:04:08 +09:00
.swcrc use swc for jest 2022-09-22 04:51:16 +09:00
jest-resolver.cjs なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
jest.config.cjs Fix MetaService unit tests (#9319) 2022-12-14 14:26:25 +09:00
jsconfig.json use eslint 2021-11-12 10:35:41 +09:00
ormconfig.js なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
package.json perf(backend): Use undici instead of node-fetch and got (#9459) 2023-01-12 21:03:02 +09:00
README.md chore: ✌️ 2022-12-24 14:39:17 +09:00
tsconfig.json Fix import related TypeScript errors (#9321) 2022-12-14 00:01:45 +09:00
watch.mjs implement dev command 2021-11-19 14:48:59 +09:00

Misskey Backend