Skip to content

Commit

Permalink
fix: POST not DELETE op in acquire
Browse files Browse the repository at this point in the history
  • Loading branch information
Deivu committed Dec 22, 2024
1 parent fb89832 commit 17f987c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/concurrency/ConcurrencyServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class ConcurrencyServer {
return void response.end();
}

if (request.method === 'DELETE' && request.url.includes('/concurrency/acquire')) {
if (request.method === 'POST' && request.url.includes('/concurrency/acquire')) {
try {
await this.manager.waitForIdentify(shardId);
response.statusCode = 204;
Expand Down

0 comments on commit 17f987c

Please sign in to comment.