timeout values updated as per DnsClient implementation changes.

This commit is contained in:
Shreyas Zare
2020-06-28 15:52:47 +05:30
parent d9862308af
commit ee0847d316
3 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ namespace DnsServerCore.Dns.Zones
const int NOTIFY_TIMER_INTERVAL = 10000;
readonly List<NameServerAddress> _notifyList = new List<NameServerAddress>();
const int NOTIFY_TIMEOUT = 60000;
const int NOTIFY_TIMEOUT = 10000;
const int NOTIFY_RETRIES = 5;
#endregion

View File

@@ -35,8 +35,8 @@ namespace DnsServerCore.Dns.Zones
readonly Timer _refreshTimer;
const int REFRESH_TIMER_INTERVAL = 10000;
const int REFRESH_SOA_TIMEOUT = 60000;
const int REFRESH_AXFR_TIMEOUT = 1500000; //5 mins per 5 retries
const int REFRESH_SOA_TIMEOUT = 10000;
const int REFRESH_AXFR_TIMEOUT = 300000;
const int REFRESH_RETRIES = 5;
DateTime _expiry;

View File

@@ -35,7 +35,7 @@ namespace DnsServerCore.Dns.Zones
readonly Timer _refreshTimer;
const int REFRESH_TIMER_INTERVAL = 10000;
const int REFRESH_TIMEOUT = 60000;
const int REFRESH_TIMEOUT = 10000;
const int REFRESH_RETRIES = 5;
DateTime _expiry;