[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Bring down required_lifetime on servers; KeyOverlap ren...



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv13166/lib/mixminion

Modified Files:
	ClientMain.py 
Log Message:
Bring down required_lifetime on servers; KeyOverlap renders this unneeded.

Index: ClientMain.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/ClientMain.py,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- ClientMain.py	29 May 2003 04:39:59 -0000	1.82
+++ ClientMain.py	30 May 2003 00:01:57 -0000	1.83
@@ -106,7 +106,10 @@
     MAGIC = "ClientKeystore-0.2"
 
     # The amount of time to require a path to be valid, by default.
-    DEFAULT_REQUIRED_LIFETIME = 3600
+    #
+    # (Servers already have a keyOverlap of a few hours, so there's not so
+    #  much need to do this at the client side.)
+    DEFAULT_REQUIRED_LIFETIME = 1
 
     def __init__(self, directory):
         """Create a new ClientDirectory to keep directories and descriptors
@@ -2598,6 +2601,7 @@
   -v, --verbose              Display extra debugging messages.
   -f <file>, --config=<file> Use a configuration file other than ~.mixminionrc
                                (You can also use MIXMINIONRC=FILE)
+  -n <n>, --count=<n>        Send no more than <n> messages from the queue.
 
 EXAMPLES:
   Try to send all currently queued messages.