Seed the random number generator after the fork.
authorEric Price <ecprice@mit.edu>
Sun, 22 Jun 2008 05:26:46 +0000 (01:26 -0400)
committerEric Price <ecprice@mit.edu>
Sun, 22 Jun 2008 05:26:46 +0000 (01:26 -0400)
svn path=/trunk/packages/sipb-xen-www/; revision=634

code/main.py

index 9d39df6..d67faa8 100755 (executable)
@@ -663,6 +663,8 @@ class App:
         self.state = State(self.username)
         self.state.environ = environ
 
+        random.seed() #sigh
+
     def __iter__(self):
         start_time = time.time()
         sipb_xen_database.clear_cache()