Skip to content

Remove persistentId ("PayU") from OauthCacheMemcached#67

Open
webdudi wants to merge 1 commit intoPayU-EMEA:masterfrom
webdudi:patch-1
Open

Remove persistentId ("PayU") from OauthCacheMemcached#67
webdudi wants to merge 1 commit intoPayU-EMEA:masterfrom
webdudi:patch-1

Conversation

@webdudi
Copy link

@webdudi webdudi commented Jan 18, 2017

It's not namespace or prefix - it's persistent_id.

http://php.net/manual/en/memcached.construct.php

persistent_id
By default the Memcached instances are destroyed at the end of the request. To create an instance that persists between requests, use persistent_id to specify a unique ID for the instance. All instances created with the same persistent_id will share the same connection.

If it's in constructor - the number of current connections to memcached grows rapidly.

@webdudi webdudi changed the title Remove persistentId ("PayU") from OauthCacheMemcached - Remove persistentId ("PayU") from OauthCacheMemcached Mar 19, 2017
@glenior
Copy link

glenior commented Aug 20, 2021

This change improves the performance of the library. Why is this not merged into the master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants