···88 comatproto "github.com/bluesky-social/indigo/api/atproto"
99 "github.com/bluesky-social/indigo/events"
1010 "github.com/bluesky-social/indigo/events/schedulers/sequential"
1111+1112 "github.com/gorilla/websocket"
1212- cli "github.com/urfave/cli/v2"
1313+ "github.com/urfave/cli/v2"
1314)
14151516// TODO: WIP - turns out to be more complicated than i initially thought
···1717 "github.com/bluesky-social/indigo/events/schedulers/autoscaling"
1818 lexutil "github.com/bluesky-social/indigo/lex/util"
1919 "github.com/bluesky-social/indigo/repo"
2020- typegen "github.com/whyrusleeping/cbor-gen"
21202221 "github.com/earthboundkid/versioninfo/v2"
2322 "github.com/gorilla/websocket"
2423 "github.com/ipfs/go-cid"
2424+ typegen "github.com/whyrusleeping/cbor-gen"
2525)
26262727func (idx *Indexer) getLastCursor() (int64, error) {
···219219 }
220220221221 switch rec := rec.(type) {
222222- case *bsky.FeedPost:
222222+ case *appbsky.FeedPost:
223223 rkey, err := syntax.ParseTID(parts[1])
224224 if err != nil {
225225 logger.Warn("skipping post record with non-TID rkey")
···236236 // Send the job to the bulk indexer
237237 idx.postQueue <- &job
238238 postsIndexed.Inc()
239239- case *bsky.ActorProfile:
239239+ case *appbsky.ActorProfile:
240240 if parts[1] != "self" {
241241 return nil
242242 }
···330330 }
331331332332 switch rec := rec.(type) {
333333- case *bsky.FeedPost:
333333+ case *appbsky.FeedPost:
334334 rkey, err := syntax.ParseTID(parts[1])
335335 if err != nil {
336336 logger.Warn("skipping post record with non-TID rkey")
···346346347347 // Send the job to the bulk indexer
348348 idx.postQueue <- &job
349349- case *bsky.ActorProfile:
349349+ case *appbsky.ActorProfile:
350350 if parts[1] != "self" {
351351 return nil
352352 }
+2-2
search/server.go
···99 "os"
1010 "strings"
11111212+ _ "net/http/pprof" // For pprof in the metrics server
1313+1214 "github.com/bluesky-social/indigo/atproto/identity"
13151416 "github.com/earthboundkid/versioninfo/v2"
···1820 "github.com/prometheus/client_golang/prometheus/promhttp"
1921 slogecho "github.com/samber/slog-echo"
2022 "go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho"
2121-2222- _ "net/http/pprof" // For pprof in the metrics server
2323)
24242525type LastSeq struct {