Skip to content

Commit

Permalink
fix: make command lock looser while still preventing exploits
Browse files Browse the repository at this point in the history
  • Loading branch information
niekcandaele committed Jan 3, 2025
1 parent bb2cbe7 commit 0abbd36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-api/src/service/CommandService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { ModuleService } from './ModuleService.js';
import { UserService } from './User/index.js';

export function commandsRunningKey(data: ICommandJobData) {
return `commands-running:${data.pog.id}`;
return `commands-running:${data.pog.id}:${data.itemId}`;
}

export class CommandOutputDTO extends TakaroModelDTO<CommandOutputDTO> {
Expand Down

0 comments on commit 0abbd36

Please sign in to comment.