Adjusted retro target clock to "new" DNS resolver.
The DNS resolver requires 1/4 sec clock resolution. The retro targets had a 1/2 sec clock resolution (optimized for the 1/2 sec TCP timer) resulting in DNS resolver timeouts being 0. Therefore the retro target clock resolution is now increased to 1/4 sec.
This commit is contained in:
parent
ab6d6498fe
commit
ca2552461e
3 changed files with 4 additions and 7 deletions
|
@ -63,7 +63,7 @@ clock_update(void)
|
|||
static unsigned int count;
|
||||
|
||||
count += tick;
|
||||
if(count > 2000) {
|
||||
if(count > 1000) {
|
||||
count = 0;
|
||||
++time;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue