Project

General

Profile

« Previous | Next » 

Revision 13636

lib/tnrs.py: max_names: raised back up to 500 now that a workaround for the Internal Server Errors is in place (https://github.com/iPlantCollaborativeOpenSource/TNRS/issues/7)

View differences:

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