Skip to content

Commit

Permalink
Do not block startup if typesense is down
Browse files Browse the repository at this point in the history
  • Loading branch information
amCap1712 committed Jun 23, 2021
1 parent 326314f commit 0e87ee4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consul_config.py.ctmpl
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ TYPESENSE_HOST = "{{.Address}}"
TYPESENSE_PORT = {{.Port}}
{{end}}
{{else}}
TYPESENSE_HOST = "SERVICEDOESNOTEXIST_typesense-listenbrainz"
TYPESENSE_PORT = "SERVICEDOESNOTEXIST_typesense-listenbrainz"
TYPESENSE_HOST = "localhost"
TYPESENSE_PORT = 80
{{end}}
TYPESENSE_API_KEY = '''{{template "KEY" "typesense_api_key"}}'''

Expand Down

0 comments on commit 0e87ee4

Please sign in to comment.