[PR #93] [MERGED] allow to use persistent redis connections #148

Open
opened 2026-01-23 11:33:04 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/DoctrineCacheBundle/pull/93
Author: @prgTW
Created: 3/31/2016
Status: Merged
Merged: 3/31/2016
Merged by: @mikeSimonson

Base: masterHead: feat/redis/persistent-connection


📝 Commits (1)

  • 8f7df15 allow to use persistent redis connections

📊 Changes

6 files changed (+106 additions, -2 deletions)

View changed files

📝 DependencyInjection/Configuration.php (+1 -0)
📝 DependencyInjection/Definition/RedisDefinition.php (+8 -2)
📝 Resources/config/schema/doctrine_cache-1.0.xsd (+1 -0)
📝 Resources/doc/reference.rst (+2 -0)
Tests/Functional/Fixtures/config/redis.xml (+16 -0)
Tests/Functional/RedisCacheTest.php (+78 -0)

📄 Description

New persistent configuration option for Redis introduced. It allows the connection to be persistent by internally switching connection method from \Redis::connect to \Redis::pconnect


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/DoctrineCacheBundle/pull/93 **Author:** [@prgTW](https://github.com/prgTW) **Created:** 3/31/2016 **Status:** ✅ Merged **Merged:** 3/31/2016 **Merged by:** [@mikeSimonson](https://github.com/mikeSimonson) **Base:** `master` ← **Head:** `feat/redis/persistent-connection` --- ### 📝 Commits (1) - [`8f7df15`](https://github.com/doctrine/DoctrineCacheBundle/commit/8f7df15ba1bfb20dc069b78269c616c30191ad81) allow to use persistent redis connections ### 📊 Changes **6 files changed** (+106 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `DependencyInjection/Configuration.php` (+1 -0) 📝 `DependencyInjection/Definition/RedisDefinition.php` (+8 -2) 📝 `Resources/config/schema/doctrine_cache-1.0.xsd` (+1 -0) 📝 `Resources/doc/reference.rst` (+2 -0) ➕ `Tests/Functional/Fixtures/config/redis.xml` (+16 -0) ➕ `Tests/Functional/RedisCacheTest.php` (+78 -0) </details> ### 📄 Description New `persistent` configuration option for Redis introduced. It allows the connection to be persistent by internally switching connection method from `\Redis::connect` to `\Redis::pconnect` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-23 11:33:04 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/DoctrineCacheBundle#148