mirror of
https://github.com/nginx/nginx.git
synced 2024-12-19 05:33:52 -06:00
Cache: fixed max_size on win32.
This commit is contained in:
parent
9edd64fcd8
commit
aa953f5346
@ -129,6 +129,7 @@ ngx_http_file_cache_init(ngx_shm_zone_t *shm_zone, void *data)
|
||||
if (shm_zone->shm.exists) {
|
||||
cache->sh = cache->shpool->data;
|
||||
cache->bsize = ngx_fs_bsize(cache->path->name.data);
|
||||
cache->max_size /= cache->bsize;
|
||||
|
||||
return NGX_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user