Edward
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
sapl-logs/python-indexer.py
|
@ -175,7 +175,7 @@ def follow(fd): |
|
|
@exp_backoff |
|
|
@exp_backoff |
|
|
def check_solr(): |
|
|
def check_solr(): |
|
|
r = requests.get(SOLR_BASE_URL) |
|
|
r = requests.get(SOLR_BASE_URL) |
|
|
if r.status_code == 200: |
|
|
if r.ok and r.status_code == 200: |
|
|
print(f"Solr server at {SOLR_BASE_URL} is up and running...") |
|
|
print(f"Solr server at {SOLR_BASE_URL} is up and running...") |
|
|
|
|
|
|
|
|
print("Checking collection health...") |
|
|
print("Checking collection health...") |
|
|