Commit Graph

23 Commits

Author SHA1 Message Date
tamaina 9623e8aa62 no got 2023-01-24 01:00:09 +00:00
tamaina d57f5d26a5 refactor 2023-01-15 15:27:08 +00:00
tamaina 474c72d32d clean up 2023-01-15 14:58:04 +00:00
tamaina 16df492dec Merge branch 'develop' into serve-stream 2023-01-15 09:37:56 +00:00
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 b5b0dc58a3.

* reduce maxSockets

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

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

This reverts commit 997243915c.

* add logger

* fix

* change logger name

* safe

* デフォルトでUser-Agentを設定
2023-01-12 21:03:02 +09:00
tamaina f69e57385b wip 2023-01-07 04:24:04 +00:00
tamaina 12afc294f7 wip???? 2023-01-06 16:29:45 +00:00
tamaina ca0025b499 fix 2023-01-06 15:21:07 +00:00
tamaina a58771c230 Merge branch 'fetch' into serve-stream 2023-01-06 15:20:59 +00:00
tamaina f14150c69d Use custom fetcher for ApRequest / ApResolver 2023-01-04 10:56:45 +00:00
tamaina 372a7eca7a fix 2023-01-03 14:06:48 +00:00
tamaina 071a1730b9 fix ip check 2023-01-03 13:29:47 +00:00
tamaina 0f06a9ed0e fix 2023-01-03 12:38:23 +00:00
tamaina 81bf00333d UndiciFetcherクラスを追加 (仮コミット, ビルドもstartもさせていない) 2023-01-03 12:37:00 +00:00
tamaina e55c7d5062 fix 2023-01-02 18:47:25 +00:00
tamaina 80f9a81ac4 ✌️ 2023-01-02 18:42:00 +00:00
tamaina 453ba25af2 wip? 2023-01-01 17:18:57 +00:00
tamaina 8b46edeccf
enhance: Proxy custom emojis to reduce image size and accelerate the frontend (#9431)
* fix(server): /emoji to accept `@.` host expression

* fix(client): use MkEmoji for custom emoji in MkEmojiPicker

* change convertToWebp

* nanka iroiro

* remove

* fix

* nearLosslessは労多くして益少なしなのでやめる

* do not cleanup tmp for development

* update sharp.js to 0.31.3

* mixed: true

* fix MkAutocomplete of 912791b3ab

* clean up

* https://github.com/misskey-dev/misskey/pull/9431#discussion_r1059215943
2022-12-30 12:00:50 +09:00
syuilo bbb49457f9 refactor: introduce bindThis decorator to bind this automaticaly 2022-12-04 15:03:09 +09:00
syuilo 01d4d55e78 fix import type 2022-09-21 05:33:11 +09:00
syuilo a2eac9fff6 test 2022-09-19 03:11:50 +09:00
syuilo dd35f2cce6 refactor(backend): refactor logger 2022-09-18 23:07:41 +09:00
syuilo b75184ec8e
なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00