[ckan-dev] millions of call_timing files

William Waites ww at styx.org
Wed Jan 26 18:24:23 UTC 2011


* [2011-01-26 17:23:21 +0000] David Read <david.read at okfn.org> écrit:

] Ok sounds reasonable. Cheers,

Actually, this is controlled by a config variable that
defaults to off (or should at any rate). Is it only on
the HMG servers that you're seeing millions of files?

This brings up another point about coding style. For
paste based apps, please always use

      from paste.deploy.converters import asbool

to check config variables not config.get("foo", None)
because then you can't write confusing things in the
config like

       foo_feature = false

to enable it!

-w
-- 
William Waites                <mailto:ww at styx.org>
http://eris.okfn.org/ww/         <sip:ww at styx.org>
F4B3 39BF E775 CF42 0BAB  3DF0 BE40 A6DF B06F FD45




More information about the ckan-dev mailing list