Revision 5156
Added by Aaron Marcuse-Kubitza over 12 years ago
tnrs_db | ||
---|---|---|
20 | 20 |
import tnrs |
21 | 21 |
|
22 | 22 |
# Config |
23 |
pause = 30*60 # sec; = 30 min
|
|
24 |
max_pause = 2*60*60 # sec; = 2 hr; must be >= max import time of one partition
|
|
23 |
pause = 2*60*60 # sec; = 2 hr
|
|
24 |
max_pause = 9*60*60 # sec; = 9 hr; must be >= max partition import time (1.5 hr)
|
|
25 | 25 |
assert pause <= max_pause |
26 | 26 |
|
27 | 27 |
tnrs_data = sql_gen.Table('tnrs') |
Also available in: Unified diff
tnrs_db: Adjusted pause, max_pause so the daemon waits longer before exiting, because after the initial TNRS run, most names have already been scrubbed and new names may not be added until the end of the import (in the case of a very large new datasource)