From ca19f871d7c13c32acd29bb27a73237d36bd2657 Mon Sep 17 00:00:00 2001 From: Eric Price Date: Sun, 22 Jun 2008 01:26:46 -0400 Subject: [PATCH] Seed the random number generator after the fork. svn path=/trunk/packages/sipb-xen-www/; revision=634 --- code/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/main.py b/code/main.py index 9d39df6..d67faa8 100755 --- a/code/main.py +++ b/code/main.py @@ -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() -- 1.7.9.5