from time import time
from fcntl import flock, LOCK_EX, LOCK_UN, LOCK_NB
-# Import pickle and all anydbm/shelve internal machinery, so that
-# when ReadyExec forks they will be ready.
-# Also create the database if it is not exists yet.
+# Create the database if it is not exists yet.
try:
global_db = shelve.open(global_db_name, flag='c')
start_response(status, response_headers)
return ['Ok\n']
+force()
httpd = make_server(host, port, app, server_class=QuitWSGIServer)
httpd.serve_forever()