Merge pull request #1 from aaroncampbell/master

Set a timeout on the update lock transient, in case we get a fatal error in the update process and it can't be released normally.
Shorten tlc_update__ to allow longer keys and limit key length to 37 to prevent transient timeout keys from being longer than 64
Fix notice when there's an exception thrown from the update callback
Merge pull request #4 from aaroncampbell/fixphpnotice

Fix PHP notice when there's an exception thrown from the update callback
Comment out the example. Wrap the other class and the tlc_transient() function in "!exists" conditionals. Now you can use this as a Git submodule and directly pull it into your projects.
Remove a stray greater than sign after a PHP tag in README.md
Merge pull request #9 from evansolomon/remove-stray-character

Remove a stray greater than sign after a PHP tag in README.md
Simplify the update lock generation by using uniqid()
Ensure all expected $_POST data is present before trying to interact with it.
Clean up trailing whitespace
Clean up trailing whitespace
Use md5() hashing to prevent key collisions on long key names.
Set a WP transient expiration one year in the future instead of making it indefinite.

* With the default options-table based transient cache, indefinitely stored transients are autoloaded.
* By setting an expiration date in the far-future, it is *effectively* indefinite, but we get the benefit of no autoloading of what might be a very large options row.

props to @YousefED for bringing the issue to my attention. fixes #10
Introduce ->extend_on_fail( integer ).

* set like ->extend_on_fail( 10 )
* If an update fails, say if a web service is down, throw an exception in your callback
* If an exception is detected, and extend_on_fail is set, the existing data (if it exists), will be re-set for extends_on_fail seconds
* This is useful for throttling failed calls to web services

fixes #7
Add $expiration + one year, to accomodate transients that already have a very long expiration. props @YousefED. see #10
Update tlc-transients.php

fix: set_transient takes an expiration time, not a date in the future. Use value based on $this->expiration instead of value based on time()+$this->expiration
Merge pull request #11 from YousefED/patch-1

fix WP Transient expiration time
Merge pull request #7 from markjaquith/issue-extend-expiration-on-update-failure

Introduce extend_on_fail() for better graceful failure.
Explicitly mark as GPL (v2 or later)
Move the TLC_Transient_Update_Server instance spawn inside the class_exists() check so only one is spawned. Props @rarst.