8000 if we successfully deleted the directory don't re-attempt. (#3288) · MohammedDeveloper/arangodb@2c29822 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2c29822

Browse files
dothebartfceller
authored andcommitted
if we successfully deleted the directory don't re-attempt. (arangodb#3288)
1 parent baa7217 commit 2c29822

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/client/modules/@arangodb/process-utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ function cleanupLastDirectory (options) {
250250
while (i < 5) {
251251
try {
252252
fs.removeDirectoryRecursive(cleanupDirectory, true);
253+
return;
253254
} catch (x) {
254255
print('failed to delete directory "' + cleanupDirectory + '" - "' +
255256
x + '" - Will retry in 5 seconds"');

0 commit comments

Comments
 (0)
0