Skip to content

Commit

Permalink
[Jasoet] Revert config to match current yggdrasil
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoet committed Sep 25, 2019
1 parent 4dfb872 commit c5c56d0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export PROCTOR_POSTGRES_DATABASE=proctord_test
export PROCTOR_POSTGRES_MAX_CONNECTIONS=50
export PROCTOR_POSTGRES_CONNECTIONS_MAX_LIFETIME=30
export PROCTOR_NEW_RELIC_APP_NAME=PROCTORD
export PROCTOR_NEW_RELIC_LICENSE_KEY=0123456789012345678901234567890123456789
export PROCTOR_NEW_RELIC_LICENCE_KEY=0123456789012345678901234567890123456789
export PROCTOR_MIN_CLIENT_VERSION=v2.0.0
export PROCTOR_SCHEDULED_JOBS_FETCH_INTERVAL_IN_MINS=5
export PROCTOR_MAIL_USERNAME=[email protected]
Expand Down
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ postgres:
connections.max.lifetime: 30
new.relic:
app.name: proctor-service
license.key:
licence.key:
min.client.version: v2.0.0
scheduled.jobs.fetch.interval.in.mins: 5
mail:
Expand Down
6 changes: 3 additions & 3 deletions internal/app/service/infra/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ func load() ProctorConfig {
PostgresUser: fang.GetString("postgres.user"),
PostgresPassword: fang.GetString("postgres.password"),
PostgresHost: fang.GetString("postgres.host"),
PostgresPort: fang.GetInt("POSTGRES.PORT"),
PostgresDatabase: fang.GetString("POSTGRES.DATABASE"),
PostgresPort: fang.GetInt("postgres.port"),
PostgresDatabase: fang.GetString("postgres.database"),
PostgresMaxConnections: fang.GetInt("postgres.max.connections"),
PostgresConnectionMaxLifetime: fang.GetInt("postgres.connections.max.lifetime"),
NewRelicAppName: fang.GetString("new.relic.app.name"),
NewRelicLicenseKey: fang.GetString("new.relic.license.key"),
NewRelicLicenseKey: fang.GetString("new.relic.licence.key"),
MinClientVersion: fang.GetString("min.client.version"),
ScheduledJobsFetchIntervalInMins: fang.GetInt("scheduled.jobs.fetch.interval.in.mins"),
MailUsername: fang.GetString("mail.username"),
Expand Down

0 comments on commit c5c56d0

Please sign in to comment.