HyperV-R2 fixes

This commit is contained in:
Alexander Trofimov 2015-05-21 12:04:16 +03:00
parent bba637b689
commit 6320eee5d5
3 changed files with 21 additions and 11 deletions

View file

@ -91,7 +91,7 @@ namespace WebsitePanel.VmConfig
}
attempts++;
Log.WriteError(string.Format("Attempt #{0} to find network adapter failed!", attempts));
Log.WriteError(string.Format("Attempt #{0} to find network adapter (mac: {1}) failed!", attempts, macAddress));
// wait 1 min
System.Threading.Thread.Sleep(60000);
//repeat loop

View file

@ -6,7 +6,7 @@
<appSettings>
<!-- Start-up delay in milliseconds - time to wait before tasks execution -->
<add key="Service.StartupDelay" value="0"/>
<add key="Service.StartupDelay" value="20000"/>
<!-- Interval in milliseconds to poll registry keys. 1 - read registry only once -->
<add key="Service.RegistryPollInterval" value="30000"/>