[rrd-developers] rrd cache work

kevin brintnall kbrint at rufus.net
Thu Sep 11 22:06:34 CEST 2008


On Thu, Sep 11, 2008 at 02:58:16PM -0500, kevin brintnall wrote:
> I am finishing up testing on my updates to the caching code.  I'll
> probably release it this weekend after some more testing.
> 
> I'd like to change rrdc_connect() to a no-op if the daemon address is
> NULL.  This will clean up the options processing and connection setup code
> quite a bit.

On second thought, this is even better...

rrdc_connect(char *daemon)
  if daemon specified --> connect
  else if environment --> connect
  else no-op

This preserves the ability for other client programs to respect the
environment variable without having to know what it is...  other clients
that call librrd directly can just call:

	rrdc_connect(NULL);

-- 
 kevin brintnall =~ /kbrint at rufus.net/



More information about the rrd-developers mailing list