mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 14:03:02 +00:00
Add clarifying comment about limit / guarantee env variables
This commit is contained in:
@@ -322,6 +322,9 @@ class Spawner(LoggingConfigurable):
|
||||
env['JPY_API_TOKEN'] = self.api_token
|
||||
|
||||
# Put in limit and guarantee info if they exist.
|
||||
# Note that this is for use by the humans / notebook extensions in the
|
||||
# single-user notebook server, and not for direct usage by the spawners
|
||||
# themselves. Spawners should just use the traitlets directly.
|
||||
if self.mem_limit:
|
||||
env['LIMIT_MEM'] = str(self.mem_limit)
|
||||
if self.mem_guarantee:
|
||||
|
Reference in New Issue
Block a user