Merge pull request #633 from j-f1/more-time

Bump the timeout interval for all requests to 60s
This commit is contained in:
CMK 2022-11-19 01:00:49 +08:00 committed by GitHub
commit c8ba933fff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import enum NIOHTTP1.HTTPResponseStatus
extension Mastodon.API {
static let timeoutInterval: TimeInterval = 10
static let timeoutInterval: TimeInterval = 60
static let httpHeaderDateFormatter: ISO8601DateFormatter = {
var formatter = ISO8601DateFormatter()