mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-08-07 11:54:59 -04:00
feat(paddock): initial paddock briefing pages and store changes
This commit is contained in:
@@ -190,12 +190,13 @@ func runNewsIngestion(dryRun bool, dbPath string) error {
|
||||
fmt.Fprintf(os.Stderr, "news: refreshing feeds into %s\n", path)
|
||||
}
|
||||
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 2*time.Minute)
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Minute)
|
||||
defer cancel()
|
||||
result, err := news.Refresh(ctx, st, news.RefreshOptions{
|
||||
Client: &http.Client{Timeout: 10 * time.Second},
|
||||
DryRun: dryRun,
|
||||
Progress: os.Stderr,
|
||||
EnrichOG: !dryRun,
|
||||
})
|
||||
fmt.Fprintf(
|
||||
os.Stderr,
|
||||
|
||||
Reference in New Issue
Block a user