Skip to content

Commit

Permalink
Increase fetch timeout for imports
Browse files Browse the repository at this point in the history
  • Loading branch information
msom committed Mar 20, 2015
1 parent c77f8f7 commit ac2af71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Changelog
1.4.2 (unreleased)
~~~~~~~~~~~~~~~~~~

Nothing yet.
- Increase fetch timeout for imports.
[msom]

1.4.1 (2015-03-20)
~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion seantis/dir/events/sources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def sources(self):

@lru_cache(maxsize=50)
def download(self, url):
return urlopen(url, timeout=60).read()
return urlopen(url, timeout=300).read()

def disable_indexing(self):
self.context._v_fetching = True
Expand Down

0 comments on commit ac2af71

Please sign in to comment.