Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit9cdea75

Browse files
committed
Change Win32 rename/unlink timeout to 3 seconds.
1 parentcb8d423 commit9cdea75

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/port/dirmod.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pgrename(const char *from, const char *to)
2121
/* set errno? */
2222
return-1;
2323
Sleep(100);/* ms */
24-
if (loops==10)
24+
if (loops==30)
2525
#ifndefFRONTEND
2626
elog(LOG,"could not rename \"%s\" to \"%s\", continuing to try",
2727
from,to);
@@ -32,7 +32,7 @@ pgrename(const char *from, const char *to)
3232
loops++;
3333
}
3434

35-
if (loops>10)
35+
if (loops>30)
3636
#ifndefFRONTEND
3737
elog(LOG,"completed rename of \"%s\" to \"%s\"",from,to);
3838
#else
@@ -53,7 +53,7 @@ pgunlink(const char *path)
5353
/* set errno? */
5454
return-1;
5555
Sleep(100);/* ms */
56-
if (loops==10)
56+
if (loops==30)
5757
#ifndefFRONTEND
5858
elog(LOG,"could not unlink \"%s\", continuing to try",
5959
path);
@@ -64,7 +64,7 @@ pgunlink(const char *path)
6464
loops++;
6565
}
6666

67-
if (loops>10)
67+
if (loops>30)
6868
#ifndefFRONTEND
6969
elog(LOG,"completed unlink of \"%s\"",path);
7070
#else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp