Mercurial > hg > nginx
view auto/stubs @ 4295:05031fce7ce8
Now nginx uses TTL of a DNS response when calculating cache validity.
Previously it used a hardcoded value of 300 seconds. Also added the
"valid=" parameter to the "resolver" directive that can be used to
override the cache validity time.
Patch by Kirill A. Korinskiy with minor changes.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 16 Nov 2011 13:11:39 +0000 |
parents | 7bbebf565664 |
children | d620f497c50f |
line wrap: on
line source
# Copyright (C) Igor Sysoev have=NGX_SUPPRESS_WARN . auto/have have=NGX_SMP . auto/have