mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
chore(tuna-obs): set keepAlive to true for reuse TCP socket
This commit is contained in:
@ -53,6 +53,7 @@ export default createPlugin({
|
|||||||
.fetch(url, {
|
.fetch(url, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers,
|
headers,
|
||||||
|
keepalive: true,
|
||||||
body: JSON.stringify({ data }),
|
body: JSON.stringify({ data }),
|
||||||
})
|
})
|
||||||
.catch((error: { code: number; errno: number }) => {
|
.catch((error: { code: number; errno: number }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user