Skip to content

Commit

Permalink
undo db entrypoint rename
Browse files Browse the repository at this point in the history
  • Loading branch information
ankona committed Oct 19, 2023
1 parent 1536c6b commit d470779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def main(args: argparse.Namespace) -> int:
for line in iter(process.stdout.readline, b""):
print(line.decode("utf-8").rstrip(), flush=True)
except Exception as e:
cleanup()
raise SSInternalError("Database process starter raised an exception") from e
return 0

Expand Down
2 changes: 1 addition & 1 deletion smartsim/database/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ def _get_start_script_args(
) -> t.List[str]:
cmd = [
"-m",
"smartsim._core.entrypoints.db", # entrypoint
"smartsim._core.entrypoints.redis", # entrypoint
f"+orc-exe={self._redis_exe}", # redis-server
f"+conf-file={self._redis_conf}", # redis.conf file
"+rai-module", # load redisai.so
Expand Down

0 comments on commit d470779

Please sign in to comment.