Revision 13596
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/lib/tnrs.py | ||
---|---|---|
18 | 18 |
max_pause = 30*60 # sec; = 30 min; TNRS sometimes freezes for ~10 min |
19 | 19 |
assert initial_pause <= max_pause |
20 | 20 |
#max_names = 5000 #according to http://tnrs.iplantcollaborative.org/TNRSapp.html |
21 |
#max_names = 500 # the maximum above crashes the live TNRS server |
|
22 |
max_names = 5000 # dev server can handle more names b/c no simultaneous users |
|
21 |
max_names = 500 # the maximum above crashes the live and dev TNRS servers |
|
23 | 22 |
|
24 | 23 |
# Protocol params |
25 | 24 |
server = streams.file_get_contents(os.path.dirname(__file__)+"/tnrs.url") |
Also available in: Unified diff
fix: lib/tnrs.py: max_names: reduced back to 500 because even 5000 crashes the dev TNRS server