mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
refactor: filter and action flow (#225)
* refactor: fitler and action flow * fix: save release before filters * feat: add action client to notifications * feat: improve filter check logging
This commit is contained in:
parent
f32379ae76
commit
a3854ecd59
21 changed files with 654 additions and 313 deletions
|
@ -34,7 +34,7 @@ type client struct {
|
|||
func New(config Config) Client {
|
||||
|
||||
httpClient := &http.Client{
|
||||
Timeout: time.Second * 10,
|
||||
Timeout: time.Second * 30,
|
||||
}
|
||||
|
||||
c := &client{
|
||||
|
|
|
@ -23,7 +23,7 @@ var (
|
|||
10 * time.Second,
|
||||
20 * time.Second,
|
||||
}
|
||||
timeout = 20 * time.Second
|
||||
timeout = 60 * time.Second
|
||||
)
|
||||
|
||||
type Client struct {
|
||||
|
|
|
@ -33,7 +33,7 @@ type client struct {
|
|||
func New(config Config) Client {
|
||||
|
||||
httpClient := &http.Client{
|
||||
Timeout: time.Second * 10,
|
||||
Timeout: time.Second * 30,
|
||||
}
|
||||
|
||||
c := &client{
|
||||
|
|
|
@ -34,7 +34,7 @@ type client struct {
|
|||
func New(config Config) Client {
|
||||
|
||||
httpClient := &http.Client{
|
||||
Timeout: time.Second * 10,
|
||||
Timeout: time.Second * 30,
|
||||
}
|
||||
|
||||
c := &client{
|
||||
|
|
|
@ -33,7 +33,7 @@ type client struct {
|
|||
func New(config Config) Client {
|
||||
|
||||
httpClient := &http.Client{
|
||||
Timeout: time.Second * 10,
|
||||
Timeout: time.Second * 30,
|
||||
}
|
||||
|
||||
c := &client{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue