philnash/bitly — pull request #27 by pedrocarrico (2012-10-24 20:17:35+00:00)
Title: Add timeout when calling bit.ly API

Had some issues when bit.ly didn't respond in a timely manner so I added an optional and configurable timeout in seconds when calling their API.

Only added it for the version 3 API since version 2 is deprecated (and should not be used).

This commit fixes issue #23

Cheers,