Skip to content

Commit 2afe529

Browse files
Remove refinery-config (#75)
* remove config service * sub ref * fix url * edit * Adjust config route * some linebreaks --------- Co-authored-by: JWittmeyer <jens.wittmeyer@kern.ai>
1 parent 7ba6f4e commit 2afe529

File tree

5 files changed

+3
-39
lines changed

5 files changed

+3
-39
lines changed

app.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,4 @@ def healthcheck() -> responses.PlainTextResponse:
121121
return responses.PlainTextResponse(text, status_code=status_code)
122122

123123

124-
125-
126-
session.start_session_cleanup_thread()
124+
session.start_session_cleanup_thread()

check_config_service

Lines changed: 0 additions & 31 deletions
This file was deleted.

handler/config_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
__config = None
77

88
# meant as a const value since env variables will be removed at some point
9-
REQUEST_URL = "http://refinery-config:80/full_config"
9+
REQUEST_URL = "http://refinery-gateway:80/full_config"
1010

1111

1212
def __get_config() -> Dict[str, Any]:

start

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#!/bin/bash
22
trap "echo -ne '\nstopping container...' && docker stop refinery-tokenizer > /dev/null 2>&1 && echo -ne '\t\t [done]\n'" EXIT
33

4-
5-
source check_config_service
6-
74
HIDE_BUILD=0
85
while getopts :s flag
96
do

0 commit comments

Comments
 (0)