Skip to content

Commit

Permalink
Remove dated read_timeout option (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
sitingren authored Apr 29, 2019
1 parent fdc4c7e commit 5bf9afa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ conn_info = {'host': '127.0.0.1',
'database': 'a_database',
# autogenerated session label by default,
'session_label': 'some_label',
# 10 minutes timeout on queries
'read_timeout': 600,
# default throw error on invalid UTF-8 results
'unicode_error': 'strict',
# SSL is disabled by default
Expand Down
2 changes: 0 additions & 2 deletions vertica_python/vertica/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
DEFAULT_USER = getpass.getuser()
DEFAULT_PORT = 5433
DEFAULT_PASSWORD = ''
DEFAULT_READ_TIMEOUT = 600
DEFAULT_LOG_LEVEL = logging.WARNING
DEFAULT_LOG_PATH = 'vertica_python.log'
ASCII = 'ascii'
Expand Down Expand Up @@ -189,7 +188,6 @@ def __init__(self, options=None):
self.options.setdefault('user', DEFAULT_USER)
self.options.setdefault('database', self.options['user'])
self.options.setdefault('password', DEFAULT_PASSWORD)
self.options.setdefault('read_timeout', DEFAULT_READ_TIMEOUT)
self.options.setdefault('session_label', _generate_session_label())

# Set up connection logger
Expand Down

0 comments on commit 5bf9afa

Please sign in to comment.