diff --git a/src/ray/common/ray_config.h b/src/ray/common/ray_config.h index 2c93dbb95..47a89125a 100644 --- a/src/ray/common/ray_config.h +++ b/src/ray/common/ray_config.h @@ -58,7 +58,8 @@ class RayConfig { value.end(), \ value.begin(), \ ::tolower); \ - name##_ = value == "true"; \ + name##_ = value == "true" || \ + value == "1"; \ } else { \ std::istringstream stream(pair.second); \ stream >> name##_; \