store status files in /dev/shm
All checks were successful
Gitea Actions Demo / lint (push) Successful in 20s
Gitea Actions Demo / test (push) Successful in 15s
Gitea Actions Demo / release-image (push) Successful in 1m53s

This commit is contained in:
Ryan Cavicchioni 2025-03-12 17:36:14 -05:00
parent 8b69fb745a
commit e1f29b555c
Signed by: ryanc
SSH Key Fingerprint: SHA256:FEbwJ3JyWHwYNAM8BqctZ/LmHHg1bzfi/huOj7FxlXU

6
app.rb
View File

@ -134,7 +134,7 @@ class Health
include UpDown include UpDown
def initialize def initialize
@file = "./healthy" @file = "/dev/shm/healthy"
end end
def healthy? def healthy?
@ -148,7 +148,7 @@ class Ready
include UpDown include UpDown
def initialize def initialize
@file = "./ready" @file = "/dev/shm/ready"
end end
def ready? def ready?
@ -161,7 +161,7 @@ class Sleep
include State include State
def initialize def initialize
@file = "./sleep" @file = "/dev/shm/sleep"
end end
def asleep? def asleep?