Skip to content

Commit

Permalink
fix: fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankLi123 committed Sep 14, 2024
1 parent 581ce97 commit 74ac0db
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions internal/engine/source/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ func New(config *config.Module, sourceFilter engine.DataSourceFilter, checkpoint
return activitypub.NewSource(config, checkpoint, databaseClient)
case network.NearSource:
return near.NewSource(config, sourceFilter, checkpoint, redisClient)
case network.ActivityPubSource:
return activitypub.NewSource(config, checkpoint, databaseClient)
default:
return nil, fmt.Errorf("unsupported network source %s", config.Network)
}
Expand Down
4 changes: 0 additions & 4 deletions internal/engine/worker/decentralized/core/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,8 @@ func NewWorker(config *config.Module, redisClient rueidis.Client) (engine.Worker
return mastodon.NewWorker()
case network.EthereumSource:
return ethereum.NewWorker(config, redisClient)
case network.ActivityPubSource:
return mastodon.NewWorker()
case network.ArweaveSource:
return arweave.NewWorker(config)
case network.EthereumSource:
return ethereum.NewWorker(config, redisClient)
case network.FarcasterSource:
return farcaster.NewWorker()
case network.NearSource:
Expand Down
2 changes: 1 addition & 1 deletion internal/node/indexer/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/rss3-network/node/internal/engine"
"github.com/rss3-network/node/internal/engine/source"
decentralizedWorker "github.com/rss3-network/node/internal/engine/worker/decentralized"
worker "github.com/rss3-network/node/internal/engine/worker/decentralized"
// worker "github.com/rss3-network/node/internal/engine/worker/decentralized"
federatedWorker "github.com/rss3-network/node/internal/engine/worker/federated"
"github.com/rss3-network/node/internal/node/monitor"
"github.com/rss3-network/node/internal/stream"
Expand Down

0 comments on commit 74ac0db

Please sign in to comment.