Disable caller as it's not necessary and generates slight delay.

This commit is contained in:
2024-06-19 23:40:44 +01:00
parent 61d7a45d00
commit 16844e325e
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -4,11 +4,11 @@ on:
workflow_dispatch: workflow_dispatch:
push: push:
paths-ignore: paths-ignore:
- '**/**.md' - "**/**.md"
- '**/**.yaml' - "**/**.yaml"
- 'static/**' - "static/**"
branches: branches:
- 'main' - "main"
jobs: jobs:
shared: shared:
+1 -1
View File
@@ -64,7 +64,7 @@ func parseConfig() {
return strings.Split(urls, ",") return strings.Split(urls, ",")
}() }()
c.LogLevel = strings.ToUpper(getDetailsFromEnv("LOG_LEVEL", "info")) c.LogLevel = strings.ToUpper(getDetailsFromEnv("LOG_LEVEL", "info"))
c.Logger = libpack_logging.New().SetMinLogLevel(libpack_logging.GetLogLevel(c.LogLevel)).SetFieldName("timestamp", "ts").SetFieldName("message", "msg").SetShowCaller(true) c.Logger = libpack_logging.New().SetMinLogLevel(libpack_logging.GetLogLevel(c.LogLevel)).SetFieldName("timestamp", "ts").SetFieldName("message", "msg").SetShowCaller(false)
c.Server.HealthcheckGraphQL = getDetailsFromEnv("HEALTHCHECK_GRAPHQL_URL", "") c.Server.HealthcheckGraphQL = getDetailsFromEnv("HEALTHCHECK_GRAPHQL_URL", "")
c.Client.GQLClient = graphql.NewConnection() c.Client.GQLClient = graphql.NewConnection()
c.Client.GQLClient.SetEndpoint(c.Server.HealthcheckGraphQL) c.Client.GQLClient.SetEndpoint(c.Server.HealthcheckGraphQL)