Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
lkpworkspace committed Jun 20, 2024
1 parent d68936a commit 1f8e35b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion myframe/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ void App::CheckStopWorkers() {
<< " dispatch msg to "
<< *worker_ctx;
auto actor_mailbox = actor_ctx->GetMailbox();
int actor_ctx_recv_sz = actor_mailbox->RecvSize();
std::size_t actor_ctx_recv_sz = actor_mailbox->RecvSize();
if (!actor_mailbox->RecvEmpty()) {
LOG_IF(WARNING,
actor_ctx_recv_sz > warning_msg_size_.load())
Expand Down
2 changes: 1 addition & 1 deletion myframe/worker_context_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ void WorkerContextManager::DispatchWorkerMsg(
return;
}
worker_ctx->GetMailbox()->Recv(std::move(msg));
int recv_size = worker_ctx->GetMailbox()->RecvSize();
std::size_t recv_size = worker_ctx->GetMailbox()->RecvSize();
LOG_IF(WARNING, recv_size > warning_msg_size_.load())
<< *worker_ctx << " has " << recv_size
<< " msg not process!!!";
Expand Down

0 comments on commit 1f8e35b

Please sign in to comment.