Shindig
  1. Shindig
  2. SHINDIG-921

CacheMemcache replace dynamic connection with static?

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.0, 1.1-BETA1
    • Component/s: PHP
    • Labels:
      None

      Description

      Class CacheMemcache stores the open memcache connection in the internal $connection variable.

      I propose this should be replaced with a class static variable, thus elliminating multiple calls to memcache_pconnect() during one run. This could be very usefull also if one wants to replace pconnect with standard connect.

        Activity

        Nagy Attila created issue -
        Nagy Attila made changes -
        Field Original Value New Value
        Attachment shindig_cachememcache_static.patch [ 12400321 ]
        Chris Chabot made changes -
        Assignee Chris Chabot [ chabotc ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Fix Version/s trunk [ 12313552 ]
        Gavin made changes -
        Workflow jira [ 12452754 ] patch-available, re-open possible [ 12629392 ]

          People

          • Assignee:
            Chris Chabot
            Reporter:
            Nagy Attila
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development