increase loop checkin can access site table from 20 to 200 starting up. DB2 is real slow after reboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f143dae32f
commit
86830fab88
@ -118,7 +118,7 @@ my $sitetab;
|
||||
my $retries = 0;
|
||||
# The database initialization may take some time in the system boot scenario
|
||||
# wait for a while for the database initialization
|
||||
while (!($sitetab=xCAT::Table->new('site')) && $retries < 20)
|
||||
while (!($sitetab=xCAT::Table->new('site')) && $retries < 200)
|
||||
{
|
||||
print ("Can not open basic site table for configuration, waiting the database to be initialized.\n");
|
||||
sleep 1;
|
||||
|
Loading…
Reference in New Issue
Block a user