oh its just requestTimeout.

This commit is contained in:
May 2024-03-04 22:02:38 -08:00
parent 7d622a481b
commit 840fb2ab39
2 changed files with 5 additions and 1 deletions

View file

@ -3,7 +3,7 @@
"maxDiscordFileSize": 10485760, "maxDiscordFileSize": 10485760,
"targetGuild": "906767804575928390", "targetGuild": "906767804575928390",
"targetChannel": "1024080525993971913", "targetChannel": "1024080525993971913",
"requestTimeout": 120000, "requestTimeout": 1800000,
"maxUploadIdLength": 30, "maxUploadIdLength": 30,
"accounts": { "accounts": {
"registrationEnabled": true, "registrationEnabled": true,

View file

@ -114,6 +114,10 @@ serve(
{ {
fetch: app.fetch, fetch: app.fetch,
port: Number(process.env.MONOFILE_PORT || 3000), port: Number(process.env.MONOFILE_PORT || 3000),
serverOptions: {
//@ts-ignore
requestTimeout: config.requestTimeout
}
}, },
(info) => { (info) => {
console.log("Web OK!", info.port, info.address) console.log("Web OK!", info.port, info.address)