mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-16 14:33:00 +00:00
Some inline doc fixups
This commit is contained in:
@@ -186,7 +186,7 @@ class Spawner(LoggingConfigurable):
|
|||||||
mem_limit = MemorySpecification(
|
mem_limit = MemorySpecification(
|
||||||
None,
|
None,
|
||||||
help="""
|
help="""
|
||||||
Maximum number of bytes a single-user server is allowed to use.
|
Maximum number of bytes a single-user notebook server is allowed to use.
|
||||||
|
|
||||||
Allows the following suffixes:
|
Allows the following suffixes:
|
||||||
- K -> Kilobytes
|
- K -> Kilobytes
|
||||||
@@ -195,7 +195,7 @@ class Spawner(LoggingConfigurable):
|
|||||||
- T -> Terabytes
|
- T -> Terabytes
|
||||||
|
|
||||||
If the single user server tries to allocate more memory than this,
|
If the single user server tries to allocate more memory than this,
|
||||||
it will fail. There is no guarantee that the single-user server
|
it will fail. There is no guarantee that the single-user notebook server
|
||||||
will be able to allocate this much memory - only that it can not
|
will be able to allocate this much memory - only that it can not
|
||||||
allocate more than this.
|
allocate more than this.
|
||||||
|
|
||||||
@@ -207,12 +207,12 @@ class Spawner(LoggingConfigurable):
|
|||||||
None,
|
None,
|
||||||
allow_none=True,
|
allow_none=True,
|
||||||
help="""
|
help="""
|
||||||
Maximum number of cpu-cores a single-user server is allowed to use.
|
Maximum number of cpu-cores a single-user notebook server is allowed to use.
|
||||||
|
|
||||||
If this value is set to 0.5, allows use of 50% of one CPU.
|
If this value is set to 0.5, allows use of 50% of one CPU.
|
||||||
If this value is set to 2, allows use of up to 2 CPUs.
|
If this value is set to 2, allows use of up to 2 CPUs.
|
||||||
|
|
||||||
The single-user server will never be scheduled by the kernel to
|
The single-user notebook server will never be scheduled by the kernel to
|
||||||
use more cpu-cores than this. There is no guarantee that it can
|
use more cpu-cores than this. There is no guarantee that it can
|
||||||
access this many cpu-cores.
|
access this many cpu-cores.
|
||||||
|
|
||||||
@@ -223,7 +223,7 @@ class Spawner(LoggingConfigurable):
|
|||||||
mem_guarantee = MemorySpecification(
|
mem_guarantee = MemorySpecification(
|
||||||
None,
|
None,
|
||||||
help="""
|
help="""
|
||||||
Minimum number of bytes a single-user server is guaranteed to have available.
|
Minimum number of bytes a single-user notebook server is guaranteed to have available.
|
||||||
|
|
||||||
Allows the following suffixes:
|
Allows the following suffixes:
|
||||||
- K -> Kilobytes
|
- K -> Kilobytes
|
||||||
@@ -239,7 +239,7 @@ class Spawner(LoggingConfigurable):
|
|||||||
None,
|
None,
|
||||||
allow_none=True,
|
allow_none=True,
|
||||||
help="""
|
help="""
|
||||||
Maximum number of cpu-cores a single-user server is allowed to use.
|
Minimum number of cpu-cores a single-user notebook server is guaranteed to have available.
|
||||||
|
|
||||||
If this value is set to 0.5, allows use of 50% of one CPU.
|
If this value is set to 0.5, allows use of 50% of one CPU.
|
||||||
If this value is set to 2, allows use of up to 2 CPUs.
|
If this value is set to 2, allows use of up to 2 CPUs.
|
||||||
|
Reference in New Issue
Block a user