mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
set max redirect = 5 and timeout = 30 seconds
This commit is contained in:
parent
0da4494772
commit
f4e537a4c7
1 changed files with 2 additions and 1 deletions
|
|
@ -35,7 +35,8 @@ import { authorized } from '../../utils/helpers'
|
|||
type PartialSubscription = Omit<Subscription, 'newsletterEmail'>
|
||||
|
||||
const parser = new Parser({
|
||||
timeout: 5000, // 5 seconds
|
||||
timeout: 30000, // 30 seconds
|
||||
maxRedirects: 5,
|
||||
})
|
||||
|
||||
export type SubscriptionsSuccessPartial = Merge<
|
||||
|
|
|
|||
Loading…
Reference in a new issue