diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-09-30 13:21:52 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-09-30 13:21:52 +0000 |
commit | 3266171fd4691d173f698f1c0c246322a94588e2 (patch) | |
tree | c6ff4969a31639d546af48a644c5c11b5716b82d /src/http/ngx_http_file_cache.c | |
parent | 687b0e99ea4ff631e447fff2d177d0c9297529fc (diff) | |
download | nginx-3266171fd4691d173f698f1c0c246322a94588e2.tar.gz nginx-3266171fd4691d173f698f1c0c246322a94588e2.zip |
read_ahead
Diffstat (limited to 'src/http/ngx_http_file_cache.c')
-rw-r--r-- | src/http/ngx_http_file_cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index ca333fc14..4caca919a 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -281,6 +281,7 @@ ngx_http_file_cache_open(ngx_http_request_t *r) of.min_uses = clcf->open_file_cache_min_uses; of.events = clcf->open_file_cache_events; of.directio = NGX_OPEN_FILE_DIRECTIO_OFF; + of.read_ahead = clcf->read_ahead; if (ngx_open_cached_file(clcf->open_file_cache, &c->file.name, &of, r->pool) != NGX_OK) |