aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Tassi2016-06-14 12:49:01 +0200
committerEnrico Tassi2016-06-14 12:49:01 +0200
commit200974b1c6b7651577c3dd373520f023b651021a (patch)
treefb5af0fc6369562728cf1a0e9508229882e1772a
parent33879a1d19fe0156a66c55be17b3ca94a0343fb9 (diff)
-async-proofs-delegation-threshold default value set to 0.03
Documentation also updated.
-rw-r--r--doc/refman/AsyncProofs.tex3
-rw-r--r--lib/flags.ml2
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/refman/AsyncProofs.tex b/doc/refman/AsyncProofs.tex
index ebd11c168b..7ffe252253 100644
--- a/doc/refman/AsyncProofs.tex
+++ b/doc/refman/AsyncProofs.tex
@@ -122,6 +122,9 @@ reduce the reactivity of the master process to user commands.
To disable this feature, one can pass the \texttt{-async-proofs off} flag to
CoqIDE.
+Proofs that are known to take little time to process are not delegated to a
+worker process. The threshold can be configure with \texttt{-async-proofs-delegation-threshold}. Default is 0.03 seconds.
+
\section{Batch mode}
When Coq is used as a batch compiler by running \texttt{coqc} or
diff --git a/lib/flags.ml b/lib/flags.ml
index 2266985394..f07877e20d 100644
--- a/lib/flags.ml
+++ b/lib/flags.ml
@@ -76,7 +76,7 @@ let async_proofs_is_worker () =
!async_proofs_worker_id <> "master"
let async_proofs_is_master () =
!async_proofs_mode = APon && !async_proofs_worker_id = "master"
-let async_proofs_delegation_threshold = ref 1.0
+let async_proofs_delegation_threshold = ref 0.03
let debug = ref false
let in_debugger = ref false