On Tue, 09 Dec 2008 21:05:01 +0800, Jeff <[EMAIL PROTECTED]> wrote:
> Dear Gordon,
> 
> Thanks again for your wonderful pythonfilter framework for courier.
> 
> I have a question about options in the py files.  When I install
> pythonfilter
> and run the setup it compiles the py files.  If I change any of the
> options do I
> need to re-compile the py files or will the changes somehow get picked
up?
> 
> For instance in ratelimit.py, there are some "knobs" for tuning the
limit.
> 
> maxConnections = 60
> interval = 1
> 
> If I change those, do I then need to recompile the ratelimit.py by doing
> something like:
> 
> python
>>>>import py_compile
>>>>py_compile.compile("/usr/lib/python2.4/site-packages/pythonfilter/ratelimit.py")
> 
> TIA
> 
> Jeff

rm /usr/lib/python2.4/site-packages/pythonfilter/ratelimit.pyc
py_compile /usr/lib/python2.4/site-packages/pythonfilter/ratelimit.py
filterctl stop pythonfilter
filterctl start pythonfilter

should do the work.

You have to restart the filter.

HTH.
Jerome Blion.

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to