Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

timeout parameter in new() #8

Merged
merged 1 commit into from

2 participants

@glaslos

There was the 'timeout' parameter missing in the new() function which creates the HPC instance.

@rep rep merged commit f25e0a3 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 13, 2012
  1. @glaslos

    timeout parameter added

    glaslos authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 cli/hpfeeds.py
View
4 cli/hpfeeds.py
@@ -156,6 +156,6 @@ def close(self):
try: self.s.close()
except: logger.warn('Socket exception when closing.')
-def new(host=None, port=10000, ident=None, secret=None, reconnect=True, sleepwait=20):
- return HPC(host, port, ident, secret, reconnect)
+def new(host=None, port=10000, ident=None, secret=None, timeout=3, reconnect=True, sleepwait=20):
+ return HPC(host, port, ident, secret, timeout, reconnect)
Something went wrong with that request. Please try again.