Merge pull request #1037 from alexkrolick/patch-1

Increase global masto api timeout
This commit is contained in:
Chee Aun 2025-02-27 19:17:27 +08:00 committed by GitHub
commit 251a8665b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ export function initClient({ instance, accessToken }) {
const masto = createRestAPIClient({
url,
accessToken, // Can be null
timeout: 30_000, // Unfortunatly this is global instead of per-request
timeout: 60_000, // Unfortunatly this is global instead of per-request
});
const client = {