diff --git a/django/core/handlers/wsgi.py b/django/core/handlers/wsgi.py
index 765600d..0d9ec1a 100644
a
|
b
|
class WSGIHandler(base.BaseHandler):
|
206 | 206 | # settings weren't available. |
207 | 207 | if self._request_middleware is None: |
208 | 208 | self.initLock.acquire() |
| 209 | |
| 210 | # reset pseudo random number generator, so preforked processes |
| 211 | # won't start with the same (time-based) seed. |
| 212 | from os import getpid |
| 213 | from time import ctime |
| 214 | import random |
| 215 | |
| 216 | random.seed("%d%s" % (getpid(), ctime())) |
| 217 | |
209 | 218 | # Check that middleware is still uninitialised. |
210 | 219 | if self._request_middleware is None: |
211 | 220 | self.load_middleware() |