cassinyio / SwarmSpawner

This repo is deprecated. A spawner for JupyterHub
BSD 3-Clause "New" or "Revised" License
23 stars 36 forks source link

Correct the example #4

Closed barrachri closed 7 years ago

barrachri commented 7 years ago
            'cpu_limit' : 1, # (int) – CPU limit in units of 10^9 CPU shares.
            'mem_limit' : 512 * 1e6, # (int) – Memory limit in Bytes.
            'cpu_reservation' : 1000, # (int) – CPU reservation in units of 10^9 CPU shares.
            'mem_reservation' : 512 * 1e6, # (int) – Memory reservation in Bytes

They should be int (not float)

barrachri commented 7 years ago

https://github.com/cassinyio/SwarmSpawner/commit/afbfdc90f8acfe525e18b8e1aac66fc45cdbae29