Fix discovery in worker
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15958 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
7d7bfb00b4
commit
d3adad02ee
@ -521,6 +521,7 @@ sub do_discovery_process {
|
||||
my $broker = $args{broker};
|
||||
my $quit=0;
|
||||
my $vintage = time();
|
||||
$dispatch_requests=0;
|
||||
populate_site_hash();
|
||||
while (not $quit) {
|
||||
if ((time()-$vintage)> 15) { populate_site_hash(); } #site table reread every 15 second
|
||||
|
Loading…
Reference in New Issue
Block a user