Skip to content

Commit

Permalink
update test configuration to reflect changes in ray-project#1891
Browse files Browse the repository at this point in the history
  • Loading branch information
elibol committed Apr 13, 2018
1 parent 72dfb3f commit d64f7c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/ray/object_manager/object_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ struct ObjectManagerConfig {
/// that failed due to client id lookup.
int pull_timeout_ms = 100;
/// Size of thread pool.
int num_threads = 2;
int num_threads = 4;
/// Maximum number of sends allowed.
int max_sends = 20;
int max_sends = 2;
/// Maximum number of receives allowed.
int max_receives = 20;
int max_receives = 2;
/// Object chunk size, in bytes
uint64_t object_chunk_size = std::pow(10, 8);
// TODO(hme): Implement num retries (to avoid infinite retries).
Expand Down
6 changes: 3 additions & 3 deletions src/ray/raylet/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ int main(int argc, char *argv[]) {
// Time out in milliseconds to wait before retrying a failed pull.
object_manager_config.pull_timeout_ms = 100;
// Size of thread pool.
object_manager_config.num_threads = 2;
object_manager_config.num_threads = 4;
// Maximum number of sends allowed.
object_manager_config.max_sends = 20;
object_manager_config.max_sends = 2;
// Maximum number of receives allowed.
object_manager_config.max_receives = 20;
object_manager_config.max_receives = 2;
// Object chunk size, in bytes.
object_manager_config.object_chunk_size = static_cast<uint64_t>(std::pow(10, 8));

Expand Down

0 comments on commit d64f7c1

Please sign in to comment.