diff myrss/myrss_app.py @ 104:083e09bb913a

myrss: update FEEDS, URLOPEN_TIMEOUT, and one more debug line
author paulo
date Mon, 23 Sep 2019 19:55:00 -0600
parents e2817e789895
children
line diff
     1.1 --- a/myrss/myrss_app.py	Thu Mar 07 00:52:02 2019 -0800
     1.2 +++ b/myrss/myrss_app.py	Mon Sep 23 19:55:00 2019 -0600
     1.3 @@ -29,7 +29,7 @@
     1.4  MAX_ITEMS = 50
     1.5  MAX_LINK_Z = 4
     1.6  MAX_THREADS = 20
     1.7 -URLOPEN_TIMEOUT = 60 # [seconds]
     1.8 +URLOPEN_TIMEOUT = 10 # [seconds]
     1.9  
    1.10  
    1.11  _PARSE_ROOT_TAG_RE = re.compile(r"(\{(.+)\})?(.+)")
    1.12 @@ -259,6 +259,7 @@
    1.13  
    1.14  			with open(CACHE_HTML_FILE, 'w') as cache_html_file:
    1.15  				cache_html_file.write(ret)
    1.16 +		logging.debug("main() ended")
    1.17  
    1.18  	return ret
    1.19