Fix #1215
This commit is contained in:
parent
7a593ffaee
commit
3a1869bcd6
@ -299,7 +299,9 @@ public class NamingProxy {
|
|||||||
|
|
||||||
public long sendBeat(BeatInfo beatInfo) {
|
public long sendBeat(BeatInfo beatInfo) {
|
||||||
try {
|
try {
|
||||||
NAMING_LOGGER.info("[BEAT] {} sending beat to server: {}", namespaceId, beatInfo.toString());
|
if (NAMING_LOGGER.isDebugEnabled()) {
|
||||||
|
NAMING_LOGGER.debug("[BEAT] {} sending beat to server: {}", namespaceId, beatInfo.toString());
|
||||||
|
}
|
||||||
Map<String, String> params = new HashMap<String, String>(4);
|
Map<String, String> params = new HashMap<String, String>(4);
|
||||||
params.put("beat", JSON.toJSONString(beatInfo));
|
params.put("beat", JSON.toJSONString(beatInfo));
|
||||||
params.put(CommonParams.NAMESPACE_ID, namespaceId);
|
params.put(CommonParams.NAMESPACE_ID, namespaceId);
|
||||||
|
Loading…
Reference in New Issue
Block a user