diff --git a/python/ray/worker.py b/python/ray/worker.py index 8adc0175a..2890aeb7c 100644 --- a/python/ray/worker.py +++ b/python/ray/worker.py @@ -1422,10 +1422,10 @@ def get(object_refs, *, timeout=None): "core_worker") and worker.core_worker.current_actor_is_asyncio(): global blocking_get_inside_async_warned if not blocking_get_inside_async_warned: - logger.debug("Using blocking ray.get inside async actor. " - "This blocks the event loop. Please use `await` " - "on object ref with asyncio.gather if you want to " - "yield execution to the event loop instead.") + logger.warning("Using blocking ray.get inside async actor. " + "This blocks the event loop. Please use `await` " + "on object ref with asyncio.gather if you want to " + "yield execution to the event loop instead.") blocking_get_inside_async_warned = True with profiling.profile("ray.get"):