Revision 5153
Added by Aaron Marcuse-Kubitza about 12 years ago
tnrs_db | ||
---|---|---|
20 | 20 |
import tnrs |
21 | 21 |
|
22 | 22 |
# Config |
23 |
pause = 60 # sec
|
|
23 |
pause = 30*60 # sec; = 30 min
|
|
24 | 24 |
max_pause = 2*60*60 # sec; = 2 hr; must be >= max import time of one partition |
25 | 25 |
assert pause <= max_pause |
26 | 26 |
|
Also available in: Unified diff
tnrs_db: pause: Increased to 30 min because if no new names are available in TNRS.tnrs, there is no need to check every minute for new names (which clutters up the log file output). The pause feature is designed to allow tnrs_db to run in parallel with the import process, and process new names as they are made available, which only happens once for each partition of each datasource.