aboutsummaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-04-01 15:58:14 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-04-01 15:58:14 +0100
commit47b38ea7f9e8c4e57d5463dc68271819b823d023 (patch)
tree54d073431e3da31a0184545fbf15b8e6cac1ab36 /config.py
parentfetch d3 over https (diff)
downloadAnnotateChange-47b38ea7f9e8c4e57d5463dc68271819b823d023.tar.gz
AnnotateChange-47b38ea7f9e8c4e57d5463dc68271819b823d023.zip
Move task assignment to separate module
Also, add automatic assign on user signup
Diffstat (limited to 'config.py')
-rw-r--r--config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.py b/config.py
index 1823a54..1f0ca83 100644
--- a/config.py
+++ b/config.py
@@ -46,3 +46,7 @@ class Config(object):
# these should be used relative to the instance path
DATASET_DIR = "datasets"
TEMP_DIR = "tmp"
+
+ # task distribution settings
+ TASKS_MAX_PER_USER = 5
+ TASKS_NUM_PER_DATASET = 10