mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #871] [MERGED] XCache cannot be flushed on the CLI -> for pretty much the same reason as APC #8830
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/871
Author: @elmariachi111
Created: 12/10/2013
Status: ✅ Merged
Merged: 12/16/2013
Merged by: @beberlei
Base:
master← Head:patch-1📝 Commits (3)
53fbb0bXCache cannot be cleared on CLI (like APC)88a56eeXCache cannot be cleared on CLI (like APC)eded05dXCache cannot be cleared on CLI (like APC)📊 Changes
3 files changed (+16 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/Tools/Console/Command/ClearCache/MetadataCommand.php(+6 -0)📝
lib/Doctrine/ORM/Tools/Console/Command/ClearCache/QueryCommand.php(+5 -1)📝
lib/Doctrine/ORM/Tools/Console/Command/ClearCache/ResultCommand.php(+5 -0)📄 Description
Stumbled upon that when implementing Caching in our project using Symfony2. It's pretty useless in SF2 to e.g. execute the "doctrine:cache:clear-query" since it doesn't clear anything. There are workarounds for that BTW: https://github.com/ornicar/ApcBundle (but it's kinda ugly) + my initial question on stackoverflow: http://stackoverflow.com/questions/20241652/symfony2-flush-xcache-class-cache-on-multiple-instances-on-deployment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.