diff --git a/CHANGELOG.md b/CHANGELOG.md index 931194a..fc3d09b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.5.0 +* Set autosave-every to 60 + ## 1.4.0 * Implement pagination diff --git a/pygeoapi_kubernetes_papermill/notebook.py b/pygeoapi_kubernetes_papermill/notebook.py index 58feeb8..782a120 100644 --- a/pygeoapi_kubernetes_papermill/notebook.py +++ b/pygeoapi_kubernetes_papermill/notebook.py @@ -259,7 +259,7 @@ def create_job_pod_spec( f'"{output_notebook}" ' "--engine kubernetes_job_progress " "--request-save-on-cell-execute " - "--autosave-cell-every 0 " + "--autosave-cell-every 60 " f'--cwd "{working_dir(requested.notebook)}" ' + ("--log-output " if self.log_output else "") + (f"-k {requested.kernel} " if requested.kernel else "")