Skip to content

Commit

Permalink
Merge pull request #163 from internxt/fix/shard-usecase-networkqueue
Browse files Browse the repository at this point in the history
[PB-2515]: fix/shard usecase networkqueue
  • Loading branch information
sg-gs authored Aug 20, 2024
2 parents 361446f + 2a0c5a2 commit e5fc5bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/cli/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export async function prepare(): Promise<PrepareFunctionReturnType> {

const shardsUsecase = new ShardsUsecase(
mirrorsRepository,
contactsRepository,
networkQueue
);
const bucketEntriesUsecase = new BucketEntriesUsecase(
Expand Down
1 change: 1 addition & 0 deletions lib/server/routes/buckets.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ function BucketsRouter(options) {

this.shardsUseCase = new ShardsUsecase(
mirrorsRepository,
contactsRepository,
this.networkQueue,
);

Expand Down

0 comments on commit e5fc5bd

Please sign in to comment.