adafruit / Adafruit_IO_Python

Adafruit IO Python Client Library
Other
225 stars 99 forks source link

Allow user to override keepalive on connect #29

Closed radudragusin closed 7 years ago

radudragusin commented 8 years ago

The keepalive is always set to KEEP_ALIVE_SEC and cannot be overridden by the user. This fix uses the user-provided keepalive from kwargs and defaults to KEEP_ALIVE_SEC if there is None. This fixes #28