Skip to content
Snippets Groups Projects
Select Git revision
  • 004067ea958dc9f4d01ed8250bb4775646cf335a
  • live_exam_os_ubuntu default protected
2 results

consts.go

Blame
  • consts.go 460 B
    package consts
    
    const (
    	DefaultLogLevel = "info"
    
    	APIDefaultPort = 1077
    	APIPortMin     = 1025
    	APIPortMax     = 1099
    
    	VMSpiceMinPort = 1100
    	VMSpiceMaxPort = 65000
    
    	MaxUploadSize = "30G"
    
    	// We estimate that KVM allows for this amount of RAM saving in %
    	// (due to page sharing across VMs).
    	KsmRamSaving = 0.3
    
    	// To prevent RAM saturation, we refuse running new VMs if more than
    	// this amount of memory is being used (in %).
    	RamUsageLimit = .85
    )