mirror of
https://github.com/aljazceru/crawler_v2.git
synced 2025-12-17 07:24:21 +01:00
increased fetcher timeout to avoid getting partial results
This commit is contained in:
@@ -104,7 +104,7 @@ func fetch(ctx context.Context, config FetcherConfig, pubkeys []string) ([]*nost
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
ctx, cancel := context.WithTimeout(ctx, time.Second*15)
|
||||
ctx, cancel := context.WithTimeout(ctx, 30*time.Second)
|
||||
defer cancel()
|
||||
|
||||
pool := nostr.NewSimplePool(ctx)
|
||||
|
||||
Reference in New Issue
Block a user