Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-921

CacheMemcache replace dynamic connection with static?

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: