I've found my old code, and its rather ugly and not very portable. So I'd rather start from scratch. I've learnt a better way of parsing multi-delimited strings now anyway, so I'll whip something up.
On Tue, Mar 17, 2009 at 9:23 AM, Dustin <[email protected]> wrote: > > > On Mar 16, 5:05 pm, Clint Webb <[email protected]> wrote: > > Actually that is a good point. I hadn't thought of that. I have some > > services that I wrote a long time ago that take a -o options setting, > which > > is for those odd options that are rarely used, but occassionaly needed > for > > fine-tuning... > > > > so I would have something like: > > webservice -v -a 127.0.0.1 -p 14077 -o > > "pre-fetch=1,fetch-fail-delay=15,lib-preload=0" > > > > If you're interested I could dig out the old code that does this... or > might > > not be difficult to start from scratch. That might be a good way of > > handling these kinds of rarely used settings. > > -o isn't taken yet, but that could be good. There are a few other > hard-coded values I've found in there that might be interesting to > adjust on a really rare base (e.g. how deep to walk the LRU when > looking for something eligible to evict). > > I don't know that it's *urgent* now. I like the idea that rarely- > used tweakability can be added, though. > -- "Be excellent to each other"
