Skip to content

Commit c8d95d9

Browse files
committed
With Slurm plugin, tmp is cleaned at the end of a job. Removing SLURM_TMPDIR to use /tmp as before.
1 parent b64e985 commit c8d95d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_rsession_proxy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def db_config():
5757
'''
5858
# use mkdtemp() so the directory and its contents don't vanish when
5959
# we're out of scope
60-
db_dir = tempfile.mkdtemp(dir=os.environ.get("SLURM_TMPDIR", "/tmp"))
60+
db_dir = tempfile.mkdtemp()
6161
# create the rserver database config
6262
db_conf = dedent("""
6363
provider=sqlite

0 commit comments

Comments
 (0)