Skip to content

Commit

Permalink
fix: wrong endpoint for check
Browse files Browse the repository at this point in the history
  • Loading branch information
Deivu committed Dec 22, 2024
1 parent 0f334d2 commit b0ecae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/concurrency/ConcurrencyClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class ConcurrencyClient {
}

public async checkServer(): Promise<number> {
const url = new URL(`http://${this.address}:${this.port}/concurrency/acquire`);
const url = new URL(`http://${this.address}:${this.port}/concurrency/check`);
url.searchParams.append('shardId', '0');
const response = await Fetch(url.toString(), {
method: 'POST',
Expand Down

0 comments on commit b0ecae7

Please sign in to comment.