update driver config
This commit is contained in:
parent
c9951a287b
commit
93e8418c0f
|
@ -99,11 +99,10 @@ TEMP_DIR = '/tmp/driver'
|
||||||
if DB_DUMP_DIR is None:
|
if DB_DUMP_DIR is None:
|
||||||
if HOST_CONN == 'local':
|
if HOST_CONN == 'local':
|
||||||
DB_DUMP_DIR = os.path.join(DRIVER_HOME, 'dumpfiles')
|
DB_DUMP_DIR = os.path.join(DRIVER_HOME, 'dumpfiles')
|
||||||
|
if not os.path.exists(DB_DUMP_DIR):
|
||||||
|
os.mkdir(DB_DUMP_DIR)
|
||||||
else:
|
else:
|
||||||
DB_DUMP_DIR = os.path.expanduser('~/dumpfiles')
|
DB_DUMP_DIR = os.path.expanduser('~/')
|
||||||
if not os.path.exists(DB_DUMP_DIR):
|
|
||||||
os.mkdir(DB_DUMP_DIR)
|
|
||||||
|
|
||||||
|
|
||||||
# Reload the database after running this many iterations
|
# Reload the database after running this many iterations
|
||||||
RELOAD_INTERVAL = 10
|
RELOAD_INTERVAL = 10
|
||||||
|
|
Loading…
Reference in New Issue