refactor: Switching to a cron system for tasks, restructuring service and status models
Added response time field for Status model, set log level from ENV
This commit is contained in:
@@ -26,7 +26,7 @@ func Connect() (*gorm.DB, error) {
|
||||
os.Getenv("DATABASE_PASS"),
|
||||
os.Getenv("DATABASE_DB"),
|
||||
os.Getenv("DATABASE_PORT"),
|
||||
os.Getenv("DATABASE_TZ"),
|
||||
os.Getenv("APP_TZ"),
|
||||
)
|
||||
|
||||
newLogger := logger.New(
|
||||
|
||||
Reference in New Issue
Block a user