Project

General

Profile

« Previous | Next » 

Revision 13630

fix: lib/tnrs.py: max_names: lowered to 50 because the dev TNRS server is now always crashing with an Internal Server Error when scrubbing 500 names at a time (https://github.com/iPlantCollaborativeOpenSource/TNRS/issues/7)

View differences:

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 and dev TNRS servers
21
max_names = 50 # the maximum above crashes the live and dev TNRS servers
22 22

  
23 23
# Protocol params
24 24
server = streams.file_get_contents(os.path.dirname(__file__)+"/tnrs.url")

Also available in: Unified diff