this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

client is often nil (#337)

authored by

Jaz and committed by
GitHub
a2219fc5 3bda8728

+4
+4
cmd/bigsky/main.go
··· 20 20 "github.com/bluesky-social/indigo/notifs" 21 21 "github.com/bluesky-social/indigo/plc" 22 22 "github.com/bluesky-social/indigo/repomgr" 23 + "github.com/bluesky-social/indigo/util" 23 24 "github.com/bluesky-social/indigo/util/cliutil" 24 25 "github.com/bluesky-social/indigo/util/version" 25 26 "github.com/bluesky-social/indigo/xrpc" ··· 284 285 rlskip := os.Getenv("BSKY_SOCIAL_RATE_LIMIT_SKIP") 285 286 ix.ApplyPDSClientSettings = func(c *xrpc.Client) { 286 287 if c.Host == "https://bsky.social" { 288 + if c.Client == nil { 289 + c.Client = util.RobustHTTPClient() 290 + } 287 291 c.Client.Timeout = time.Minute * 30 288 292 if rlskip != "" { 289 293 c.Headers = map[string]string{