Skip to content

Commit

Permalink
Tiny performance improvments
Browse files Browse the repository at this point in the history
  • Loading branch information
dongreenberg committed Apr 1, 2024
1 parent 218776f commit e45b1bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
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.25

# 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 @@ -470,7 +470,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 @@ -68,7 +68,7 @@ def get_cluster_servlet(create_if_not_exists: bool = False):
get_if_exists=True,
lifetime="detached",
namespace="runhouse",
max_concurrency=1000,
max_concurrency=100000,
resources={f"node:{current_ip}": 0.001},
)
.remote()
Expand Down Expand Up @@ -308,7 +308,7 @@ def get_env_servlet(
resources=resources,
lifetime="detached",
namespace="runhouse",
max_concurrency=1000,
max_concurrency=100000,
)
.remote(env_name=env_name)
)
Expand Down

0 comments on commit e45b1bc

Please sign in to comment.