What is H2O_WAVE_CHECKPOINT_DIR intended use? #1389
Unanswered
pascal-pfeiffer
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The checkpointing is tied to the The implementation is fairly simple: https://github.com/h2oai/wave/blob/master/py/h2o_wave/server.py#L388-L400 The situation might be different with the recent changes to |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From the documentation, I read that
H2O_WAVE_CHECKPOINT_DIR
can be used to save contents ofq.app
andq.user
across restarts of the app for prototyping.When trying this feature with the current v0.21 of wave, I see, that
h2o_wave.checkpoint
pickle is only created when changing one or more lines in the code while the wave server is running. This checkpoint is then loaded when restarting the app. In contrast, wave does not save the state ofq.app
andq.user
when Ictrl + c
the app server and it shuts down. Is this intended?Beta Was this translation helpful? Give feedback.
All reactions