Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactored sandbox config #2455
Refactored sandbox config #2455
Changes from 5 commits
1bf5f07
2f67131
7079b64
90702e4
a35a6e5
de57c58
55729c4
ae02fcd
75e2677
09bfcef
139b1a3
a4d18ad
1f340a8
8b84541
522d6e4
4d9cad2
9335342
d00a426
964304b
000b80f
ea991e8
bfa6046
9d172ed
5dfb93c
c605641
6b3e5d3
f7e8f24
461d655
dab8f00
6b9dd3a
fd95205
d67518c
61fd15f
0f2e7ab
f039c7c
a645759
0a9fb94
2c1b402
a35e5b7
243f451
2a45d60
8ec0223
4c68841
84c2d27
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still don't understand this, sorry. Does this mean that
fast_boot
is the same withnot initialize_plugins
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would this work with non-persistent sandboxes (the default)?
wouldn't a new session create a new container anyways and leave the old "abandonded" here?
@enyst
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it wouldn't work well, but the lines above limit it to
persist_sandbox
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for the first time, if we set initialize_plugins, here "not initialize_plugins" will fail and sandbox will be stopped -> (effect) jupyter server will also be stopped. (then we need to initialize_plugins again) -> loop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if
initialize_plugins
andfast_boot
are both true, or are both false?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The purpose of
fast_boot
is to not stop the container for a persistent sandbox.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if initialize_plugins and fast_boot are set to true; it will initialize_plugins and don't stop the container.
if both are set to false, if the plugin is already initialized, and if the sandbox was not stopped before, it will work. But for the next run, the jupyter server will be stopped as the sandbox was stopped. So, it won't work.