On Wed, Oct 26, 2011 at 12:46:48PM +0200, Michael Hanselmann wrote: > --- > lib/rpc.py | 28 ---------------------------- > 1 files changed, 0 insertions(+), 28 deletions(-) > > diff --git a/lib/rpc.py b/lib/rpc.py > index cd68184..c4efad8 100644 > --- a/lib/rpc.py > +++ b/lib/rpc.py > @@ -71,16 +71,6 @@ _TMO_SLOW = 3600 # one hour > _TMO_4HRS = 4 * 3600 > _TMO_1DAY = 86400 > > -# Timeout table that will be built later by decorators > -# Guidelines for choosing timeouts: > -# - call used during watcher: timeout -> 1min, _TMO_URGENT > -# - trivial (but be sure it is trivial) (e.g. reading a file): 5min, > _TMO_FAST > -# - other calls: 15 min, _TMO_NORMAL > -# - special calls (instance add, etc.): either _TMO_SLOW (1h) or huge > timeouts
I can't find these comments somewhere else, so I think they should be moved near the rpc defs themselves. iustin
