BYOK Personal Data Server (PDS) written in Go
ipfs vow atproto pds go
0
fork

Configure Feed

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

fix: Increase sync subscribe repos read deadline

+3 -1
+3 -1
server/handle_sync_subscribe_repos.go
··· 58 58 defer cancel() 59 59 60 60 for { 61 - if err := conn.SetReadDeadline(time.Now().Add(30 * time.Second)); err != nil { 61 + // Use a long deadline to allow idle firehose connections without false timeouts. 62 + // 5 minutes is reasonable - if client disconnects, TCP will detect it. 63 + if err := conn.SetReadDeadline(time.Now().Add(5 * time.Minute)); err != nil { 62 64 logger.Warn("error setting read deadline", "err", err) 63 65 return 64 66 }