feat: Commit due to moving to nas

This commit is contained in:
2024-11-07 14:31:02 -05:00
parent 7122fc818b
commit 19b2eb42c5
6 changed files with 30 additions and 6 deletions

View File

@@ -21,6 +21,7 @@ var environment = try bootstrap(eventLoopGroup: eventLoopGroup, logger: logger,
// Set the log level to info only in production mode.
if environment.envVars.appEnv == .production {
logger.debug("Updating logging level to info.")
logger.logLevel = .info
}
@@ -43,7 +44,7 @@ while true {
try client.subscribe().wait()
Thread.sleep(forTimeInterval: 1)
}
// Check if sensors need processed.
if state.sensors.needsProcessed {
logger.debug("Sensor state has changed...")
@@ -68,6 +69,6 @@ while true {
// logger.debug("Fetching dew point...")
//
// logger.debug("Published dew point...")
Thread.sleep(forTimeInterval: 5)
}