Skip to content

Commit

Permalink
adjust some parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
qinxuye committed Aug 4, 2013
1 parent 65436e4 commit 146884a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contrib/weibo/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 23,6 @@
import time
import json
import urllib
import logging
from urllib2 import URLError
from datetime import datetime, timedelta
from threading import Lock
Expand Down Expand Up @@ -84,7 83,7 @@ def _error(self, url, e):
self.bundle.last_error_page = url
self.bundle.last_error_page_times = 0

if self.bundle.last_error_page_times >= 10:
if self.bundle.last_error_page_times >= 15:
raise e
return [url, ], []

Expand Down

0 comments on commit 146884a

Please sign in to comment.