import { type UpdateServerBuildOptions } from "https://deno.land/x/ptereno@v1.0.1/lib/types/application.ts";
Properties
The maximum amount of memory to allocate for the server in megabytes.
When set to 0
, an unlimited amount of memory can be consumed.
Required when there are no limits provided.
The maximum amount of swap space to allocate for the server in megabytes.
When set to 0
, swap space will be disabled. When set to -1
, swap
space will be unlimited.
Required when there are no limits provided.
The IO performance of this server relative to other running containers on the system.
This is a value between 10
and 1000
.
Required when there are no limits provided.
The maximum CPU consumption, in a percentage, allotted for the server.
A single CPU core would be considered 100%
, and a full quad-core
processor would be considered 400%
.
When set to 0
, the server can use as much CPU time as needed.
Required when there are no limits provided.
The maximum amount of disk space allotted for the server in megabytes.
When set to 0
, the server can use as much disk space as needed.
Required when there are no limits provided.
The specific CPU cores that this server can use.
Examples
0
- The first core
0-1,3
- The first 2 cores and the fourth core
0,1,3,4
- The first, second, fourth, and fifth cores