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:
jbjohnso 2013-04-11 19:37:23 +00:00
parent 7d7bfb00b4
commit d3adad02ee

View File

@ -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