mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
output version in endless loop detecting
This commit is contained in:
@@ -36,7 +36,7 @@ skynet_monitor_check(struct skynet_monitor *sm) {
|
||||
if (sm->version == sm->check_version) {
|
||||
if (sm->destination) {
|
||||
skynet_context_endless(sm->destination);
|
||||
skynet_error(NULL, "A message from [ :%08x ] to [ :%08x ] maybe in an endless loop", sm->source , sm->destination);
|
||||
skynet_error(NULL, "A message from [ :%08x ] to [ :%08x ] maybe in an endless loop (version = %d)", sm->source , sm->destination, sm->version);
|
||||
}
|
||||
} else {
|
||||
sm->check_version = sm->version;
|
||||
|
||||
Reference in New Issue
Block a user