Skip to content
This repository was archived by the owner on Jul 12, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/config/admin_server_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type AdminAPIServerConfig struct {
APIKeyCacheDuration time.Duration `env:"API_KEY_CACHE_DURATION,default=5m"`

CollisionRetryCount uint `env:"COLLISION_RETRY_COUNT,default=6"`
AllowedSymptomAge time.Duration `env:"ALLOWED_PAST_SYMPTOM_DAYS,default=336h"` // 336h is 14 days.
AllowedSymptomAge time.Duration `env:"ALLOWED_PAST_SYMPTOM_DAYS,default=648h"` // 648h is 27 days.
EnforceRealmQuotas bool `env:"ENFORCE_REALM_QUOTAS, default=true"`

// For EN Express, the link will be
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/server_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type ServerConfig struct {
// Application Config
ServerName string `env:"SERVER_NAME,default=Diagnosis Verification Server"`
CollisionRetryCount uint `env:"COLLISION_RETRY_COUNT,default=6"`
AllowedSymptomAge time.Duration `env:"ALLOWED_PAST_SYMPTOM_DAYS,default=336h"` // 336h is 14 days.
AllowedSymptomAge time.Duration `env:"ALLOWED_PAST_SYMPTOM_DAYS,default=648h"` // 648h is 27 days.
EnforceRealmQuotas bool `env:"ENFORCE_REALM_QUOTAS, default=true"`

AssetsPath string `env:"ASSETS_PATH,default=./cmd/server/assets"`
Expand Down