Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina committed Mar 3, 2024
1 parent 2926f68 commit 64fcf73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/backend/src/core/FetchInstanceMetadataService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export class FetchInstanceMetadataService {
const host = instance.host;

// finallyでunlockされてしまうのでtry内でロックチェックをしない
// (returnであってもfinallyは実行される)
if (!force && await this.tryLock(host) === '1') {
// 1が返ってきていたらロックされているという意味なので、何もしない
return;
Expand Down

0 comments on commit 64fcf73

Please sign in to comment.