Commit df5f8956993449b735b5d917242a12222a4c58a1
1 parent
fc8dc060
improved user net performances
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1561 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
slirp/slirp.c
@@ -350,7 +350,7 @@ void slirp_select_poll(fd_set *readfds, fd_set *writefds, fd_set *xfds) | @@ -350,7 +350,7 @@ void slirp_select_poll(fd_set *readfds, fd_set *writefds, fd_set *xfds) | ||
350 | * See if anything has timed out | 350 | * See if anything has timed out |
351 | */ | 351 | */ |
352 | if (link_up) { | 352 | if (link_up) { |
353 | - if (time_fasttimo && ((curtime - time_fasttimo) >= 199)) { | 353 | + if (time_fasttimo && ((curtime - time_fasttimo) >= 2)) { |
354 | tcp_fasttimo(); | 354 | tcp_fasttimo(); |
355 | time_fasttimo = 0; | 355 | time_fasttimo = 0; |
356 | } | 356 | } |