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

CacheMemcache replace dynamic connection with static?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0
    • 1.0, 1.1-BETA1
    • PHP
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: