summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_job_file_cache.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-08-24 17:43:32 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-08-24 17:43:32 +0300
commitb84aa64dcbfb92d31cef10f2f45025a67f2418e4 (patch)
treebd7509540538801bdde233b24c0a130fbd6d757a /src/nxt_job_file_cache.c
parent8b4b52ae3b3c9400b3d7040a591203a0c1b74ec3 (diff)
downloadunit-b84aa64dcbfb92d31cef10f2f45025a67f2418e4.tar.gz
unit-b84aa64dcbfb92d31cef10f2f45025a67f2418e4.tar.bz2
Removed configure option --no-threads.
Diffstat (limited to '')
-rw-r--r--src/nxt_job_file_cache.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nxt_job_file_cache.c b/src/nxt_job_file_cache.c
index 47468dc2..680d0665 100644
--- a/src/nxt_job_file_cache.c
+++ b/src/nxt_job_file_cache.c
@@ -33,14 +33,9 @@ nxt_job_file_cache_read(nxt_cache_t *cache, nxt_job_file_t *jbf)
return;
}
-#if (NXT_THREADS)
-
if (node->accessed + 60 > nxt_thread_time()) {
jbf->job.thread_pool = NULL;
}
-
-#endif
-
}
nxt_job_file_read(jbf);