mirror of
https://github.com/wassname/ray.git
synced 2026-09-09 11:32:43 +08:00
Fix setting log-level to debug. (#1432)
This commit is contained in:
committed by
Philipp Moritz
parent
4aca016bff
commit
4b1c8be4fe
@@ -1375,7 +1375,7 @@ void redis_local_scheduler_table_send_info_callback(redisAsyncContext *c,
|
||||
|
||||
redisReply *reply = (redisReply *) r;
|
||||
CHECK(reply->type == REDIS_REPLY_INTEGER);
|
||||
LOG_DEBUG("%" PRId64 " subscribers received this publish.\n", reply->integer);
|
||||
LOG_DEBUG("%lld subscribers received this publish.\n", reply->integer);
|
||||
|
||||
CHECK(callback_data->done_callback == NULL);
|
||||
/* Clean up the timer and callback. */
|
||||
@@ -1417,7 +1417,7 @@ void redis_local_scheduler_table_disconnect(DBHandle *db) {
|
||||
(size_t) fbb.GetSize());
|
||||
CHECK(reply->type != REDIS_REPLY_ERROR);
|
||||
CHECK(reply->type == REDIS_REPLY_INTEGER);
|
||||
LOG_DEBUG("%" PRId64 " subscribers received this publish.\n", reply->integer);
|
||||
LOG_DEBUG("%lld subscribers received this publish.\n", reply->integer);
|
||||
freeReplyObject(reply);
|
||||
}
|
||||
|
||||
@@ -1476,7 +1476,7 @@ void redis_driver_table_send_driver_death_callback(redisAsyncContext *c,
|
||||
|
||||
redisReply *reply = (redisReply *) r;
|
||||
CHECK(reply->type == REDIS_REPLY_INTEGER);
|
||||
LOG_DEBUG("%" PRId64 " subscribers received this publish.\n", reply->integer);
|
||||
LOG_DEBUG("%lld subscribers received this publish.\n", reply->integer);
|
||||
/* At the very least, the local scheduler that publishes this message should
|
||||
* also receive it. */
|
||||
CHECK(reply->integer >= 1);
|
||||
|
||||
Reference in New Issue
Block a user