Skip to content

Commit

Permalink
Merge pull request #8403 from romayalon/romy-threaded-multi-object-de…
Browse files Browse the repository at this point in the history
…lete

NSFS | Add parentheses to should retry
  • Loading branch information
romayalon authored Sep 24, 2024
2 parents b85e291 + c905f5a commit ebbfc52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/native_fs_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ function should_retry_link_unlink(is_gpfs, err) {
const should_retry_general = ['ENOENT', 'EEXIST'].includes(err.code);
const should_retry_gpfs = [gpfs_link_unlink_retry_err, gpfs_unlink_retry_catch].includes(err.code);
const should_retry_posix = [posix_link_retry_err, posix_unlink_retry_err].includes(err.message);
return should_retry_general || is_gpfs ? should_retry_gpfs : should_retry_posix;
return should_retry_general || (is_gpfs ? should_retry_gpfs : should_retry_posix);
}

////////////////////////
Expand Down

0 comments on commit ebbfc52

Please sign in to comment.