Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

Fix stale-if-error to properly use the stale value for the ttl #49

Merged
merged 1 commit into from
Dec 18, 2014

Conversation

Mousius
Copy link
Contributor

@Mousius Mousius commented Dec 17, 2014

Previously it always inferred $stale == true even when numeric and only added $ttl. This should fix this similarly to Guzzle 5's implementation to extend by the $stale value when it is numeric.

mtdowling added a commit that referenced this pull request Dec 18, 2014
Fix stale-if-error to properly use the stale value for the ttl
@mtdowling mtdowling merged commit 47bda5a into guzzle:master Dec 18, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants