feat(devices): compute effective online status with stale heartbeat ttl

This commit is contained in:
2026-02-23 14:35:00 +00:00
parent 46c6294e48
commit 53ad0adead
7 changed files with 148 additions and 3 deletions

View File

@@ -1,8 +1,9 @@
DATABASE_URL=postgres://username:password@localhost:5432/database_name
BETTER_AUTH_SECRET=replace_with_a_long_random_secret
BETTER_AUTH_SECRET=7bXC7LC/1IWRG3XfojTR+m9c/mN2kXLzN+g1j+cB96VuMFXml2DG8p4/3RvpMH8Tax5FXN2Bv4tjR+8/Qca0Jg
BETTER_AUTH_BASE_URL=http://localhost:3000
BETTER_AUTH_TRUSTED_ORIGINS=http://localhost:5173
PORT=3000
DEVICE_ONLINE_STALE_SECONDS=30
MINIO_ENDPOINT=localhost
MINIO_PORT=9000
MINIO_USE_SSL=false