Made "GetPage is stuck!" less obtrusive.
This commit is contained in:
parent
2903e48e71
commit
6bb126debf
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ static Page * getPage(int pageid, int locktype) {
|
|||
#endif
|
||||
}
|
||||
spin++;
|
||||
if(spin > 10000) {
|
||||
if(spin > 10000 && !(spin % 10000)) {
|
||||
printf("GetPage is stuck!");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue