Minor update

This commit is contained in:
TwinProduction 2021-03-03 22:31:55 -05:00
parent f961bf961e
commit c094c06e56
3 changed files with 7 additions and 7 deletions

View File

@ -81,11 +81,11 @@ spec:
protocol: TCP protocol: TCP
resources: resources:
limits: limits:
cpu: 200m cpu: 250m
memory: 50M memory: 100M
requests: requests:
cpu: 50m cpu: 50m
memory: 20M memory: 30M
volumeMounts: volumeMounts:
- mountPath: /config - mountPath: /config
name: gatus-config name: gatus-config

View File

@ -59,11 +59,11 @@ spec:
protocol: TCP protocol: TCP
resources: resources:
limits: limits:
cpu: 200m cpu: 250m
memory: 50M memory: 100M
requests: requests:
cpu: 50m cpu: 50m
memory: 20M memory: 30M
volumeMounts: volumeMounts:
- mountPath: /config - mountPath: /config
name: gatus-config name: gatus-config

View File

@ -22,7 +22,7 @@ func main() {
signal.Notify(sig, os.Interrupt, syscall.SIGTERM) signal.Notify(sig, os.Interrupt, syscall.SIGTERM)
go func() { go func() {
<-sig <-sig
log.Println("Received interruption signal, attempting to gracefully shut down") log.Println("Received termination signal, attempting to gracefully shut down")
controller.Shutdown() controller.Shutdown()
err := storage.Get().Save() err := storage.Get().Save()
if err != nil { if err != nil {