-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Cache] Clean RedisAdapter pipelining + FilesystemAdapter #18714
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -148,10 +145,15 @@ protected function doSave(array $values, $lifetime) | |||
return $ok; | |||
} | |||
|
|||
private function getFile($id) | |||
private function getFile($id, $mkdir) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As false
is used everywhere except in one call, what do you think of making it the default value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
d9e0eab
to
e68f2e4
Compare
👍 |
@@ -229,55 +229,65 @@ protected function doSave(array $values, $lifetime) | |||
$failed[] = $id; | |||
} | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would keep the empty lines for readability
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added back
shouldn't the update of |
33c5538
to
44e53cd
Compare
@stof hirak/prestissimo removed, I just needed it to check if |
ping @symfony/deciders votes pending for 3.1-beta which should/may be released tomorrow |
44e53cd
to
acf0075
Compare
Thank you @nicolas-grekas. |
…r (nicolas-grekas) This PR was merged into the 3.1-dev branch. Discussion ---------- [Cache] Clean RedisAdapter pipelining + FilesystemAdapter | Q | A | ------------- | --- | Branch? | 3.1 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - This PR refactorize Redis pipelining so that the case for handling RedisArray is abstracted, thus less bug prone. Commits ------- acf0075 [Cache] Clean RedisAdapter pipelining + FilesystemAdapter
This PR refactorize Redis pipelining so that the case for handling RedisArray is abstracted, thus less bug prone.