From 412e54ce1071e22da11a8a53e89f807814e7e0e4 Mon Sep 17 00:00:00 2001 From: Adam Kewley Date: Wed, 15 Jan 2020 19:09:58 +0000 Subject: [PATCH] Fixed documentation typo for actix-files (#1278) --- actix-files/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-files/src/lib.rs b/actix-files/src/lib.rs index 4d111e8a7..d910b7d5f 100644 --- a/actix-files/src/lib.rs +++ b/actix-files/src/lib.rs @@ -275,7 +275,7 @@ impl Files { /// /// `File` uses `ThreadPool` for blocking filesystem operations. /// By default pool with 5x threads of available cpus is used. - /// Pool size can be changed by setting ACTIX_CPU_POOL environment variable. + /// Pool size can be changed by setting ACTIX_THREADPOOL environment variable. pub fn new>(path: &str, dir: T) -> Files { let orig_dir = dir.into(); let dir = match orig_dir.canonicalize() {