<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    On 06/02/2013 15:16, Henning Westerholt wrote:<br>
    <blockquote cite="mid:10154983.Jjjfl8tr0q@hwesterholt" type="cite">
      <pre wrap="">Am Dienstag, 5. Februar 2013, 13:55:41 schrieb Charles Chance:
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">as the original author of the module I'd think that changing or replacing
the existing module would be the way to go. So far I'd not recieved that
much of bug reports against the existing module. And as Alex Balashov also
mentioned recently, there are some other issues with the current library.

If existing users need to stay with the old module, its available in the 
git and the existing releases, for the new release we should go with a 
module which supports the newer library.

It would be nice if you could stay with the existing PV API, which I
modelled somehow after the htable module. If you need to change something,
just announce it on the devel list and ask for feedback.
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">
</pre>
      <blockquote type="cite">
        <pre wrap="">We have indeed used the module in the past with no issues - so thank you for
writing and sharing :)

Very happy to stay with existing PVs if possible. The only thing I'd like to
see different is to set value and expiry at the same time, instead of
having to set value, then alter expiration. This has to be better than
setting a value with some default expiry, getting that same value back
again, then re-setting the value once more with a different expiry?

Could this be implemented at PV level? Something like $mct(key:expiry) =
value? And if expiry is omitted, we use default set in params.
</pre>
      </blockquote>
      <pre wrap="">
Hi Charles,

thanks, good to know that you use it. :-) With regards to the expiry value, 
yes I think this could be implemented like this. Just one remark, the syntax 
that other PVs uses is "=&gt;", like in 
<a class="moz-txt-link-freetext" href="http://www.kamailio.org/wiki/cookbooks/3.3.x/pseudovariables#sht_htable_key">http://www.kamailio.org/wiki/cookbooks/3.3.x/pseudovariables#sht_htable_key</a>

Then it would be $mct(key=&gt;expiry) = value

Best regards,

Henning Westerholt


</pre>
    </blockquote>
    <br>
    We now have an updated memcached module, working with libmemcached
    and also with the added ability to (optionally) specify expiry in
    the format $mct(key=&gt;expiry).<br>
    <br>
    How do we get these changes pushed back into the master?<br>
    <br>
    Regards,<br>
    <br>
    Charles<br>
    <br>
    <div class="moz-signature">-- <font face="Helvetica, Arial,
        sans-serif"><font size="2"><span style="font-size: 10pt;"><br>
            <a href="http://www.sipcentric.com/"
              title="blocked::http://www.sipcentric.com/">www.sipcentric.com</a><br>
            <br>
            Follow us on twitter <a
              href="http://twitter.com/sipcentric"
              title="blocked::http://twitter.com/sipcentric">@sipcentric</a><br>
            <br>
            <font color="gray"><span style="color:gray">Sipcentric Ltd.
                Company registered in England &amp; Wales no. 7365592.</span></font><br>
            <font color="gray"><span style="color:gray">Registered
                office: Unit 10 iBIC, <st1:place w:st="on"><st1:placename
                    w:st="on">Birmingham</st1:placename> <st1:placename
                    w:st="on">Science</st1:placename> <st1:placetype
                    w:st="on">Park</st1:placetype></st1:place>, <st1:address
                  style="BACKGROUND-POSITION: left bottom;
                  BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001);
                  BACKGROUND-REPEAT: repeat-x" tabindex="0" w:st="on"><st1:street
                    w:st="on">Holt Court South</st1:street>, <st1:city
                    w:st="on">Birmingham</st1:city> <st1:postalcode
                    w:st="on">B7 4EJ</st1:postalcode></st1:address>.</span></font></span></font></font>
    </div>
  </body>
</html>