From: Stephen D. <sd...@gm...> - 2006-07-08 22:04:54
|
On 6/28/06, Vlad Seryakov <vl...@cr...> wrote: > I also have question what is the meaning of changing -ttl > relativeSeconds into -expires absolutetime. > > Now Tcl code looks bloated with all -expires [expr [ns_time]+3600] lines > not counting that this is much slower than doing such incrementing C. > > May be we can keep both parameters, -ttl as relative and -expires as > absolute? > I changed it to make -timeout and -expiry regular. But you're right, it's ugly when you just want to specify an offset from now such as +3 seconds. I've changed it in CVS so that small -timeout and -expiry times are treated as offsets from now, and large values are treated as absolute times in the future. |