Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiny performance improvments #685

Merged
merged 1 commit into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion runhouse/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

DEFAULT_SERVER_HOST = "0.0.0.0"

LOGGING_WAIT_TIME = 1
LOGGING_WAIT_TIME = 0.5

# Commands
SERVER_START_CMD = f"{sys.executable} -m runhouse.servers.http.http_server"
Expand Down
1 change: 0 additions & 1 deletion runhouse/servers/http/http_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,6 @@ async def get_call(
}
params.data = serialize_data(data, serialization)

logger.info(f"GET call with params: {dict(params)}")
return await HTTPServer._call(key, method_name, params)
except Exception as e:
logger.exception(e)
Expand Down
4 changes: 2 additions & 2 deletions runhouse/servers/obj_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def get_cluster_servlet(create_if_not_exists: bool = False):
get_if_exists=True,
lifetime="detached",
namespace="runhouse",
max_concurrency=1000,
max_concurrency=10000,
resources={f"node:{current_ip}": 0.001},
)
.remote()
Expand Down Expand Up @@ -316,7 +316,7 @@ def get_env_servlet(
resources=resources,
lifetime="detached",
namespace="runhouse",
max_concurrency=1000,
max_concurrency=10000,
)
.remote(env_name=env_name)
)
Expand Down
Loading