Revision 13562
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 TNRS server |
|
21 |
#max_names = 500 # the maximum above crashes the live TNRS server |
|
22 |
max_names = 100000 # dev server can handle more names b/c no simultaneous users |
|
22 | 23 |
|
23 | 24 |
# Protocol params |
24 | 25 |
server = streams.file_get_contents(os.path.dirname(__file__)+"/tnrs.url") |
Also available in: Unified diff
lib/tnrs.py: max_names: increased to 100000 because the dev server can handle more names (no simultaneous users), as decided in the conference call (wiki.vegpath.org/2014-05-29_conference_call#TNRS)