From d63bd944ac98fa36c87b1257b2a42e092ea1cd03 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Thu, 10 Nov 2016 10:39:44 -0800 Subject: [PATCH] Add clarifying comment about limit / guarantee env variables --- jupyterhub/spawner.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jupyterhub/spawner.py b/jupyterhub/spawner.py index 8e771e9d..29d12c5d 100644 --- a/jupyterhub/spawner.py +++ b/jupyterhub/spawner.py @@ -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: