feat(feed): Configurable request timeout (#456)

* feat(feed): Add field for setting request timeout

* fix: missing type in interface

* feat: add postgres migration and column to base schema
This commit is contained in:
paperclip-go-brr 2022-10-04 17:33:35 +02:00 committed by GitHub
parent 47eaeaa635
commit 72be86a34f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 42 additions and 14 deletions

View file

@ -253,6 +253,7 @@ export function IndexerAddForm({ isOpen, toggle }: AddProps) {
url: formData.feed.url,
api_key: formData.feed.api_key,
interval: 30,
timeout: 60,
indexer: name,
indexer_id: 0
};
@ -278,6 +279,7 @@ export function IndexerAddForm({ isOpen, toggle }: AddProps) {
type: "RSS",
url: formData.feed.url,
interval: 30,
timeout: 60,
indexer: name,
indexer_id: 0
};