X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Flib%2Fgscphost%2Fclearinghouseregistries.c;fp=src%2Flib%2Fgscphost%2Fclearinghouseregistries.c;h=6e67fa33f2e3ce606bb6ea6d7b3e7b2ba4f3c43b;hb=55797517d09a619f036e7b170f105526cfb347b7;hp=84dd266e6d2386f512405c4faeda430af3f64a55;hpb=393a42a5b1ba6e64bd3eabf7d0ce2f197e966355;p=com%2Fgs-lite.git diff --git a/src/lib/gscphost/clearinghouseregistries.c b/src/lib/gscphost/clearinghouseregistries.c index 84dd266..6e67fa3 100644 --- a/src/lib/gscphost/clearinghouseregistries.c +++ b/src/lib/gscphost/clearinghouseregistries.c @@ -182,10 +182,11 @@ gs_retval_t ftalookup_heartbeat(FTAID caller_id, gs_uint64_t trace_id, // to avoid sending redundant FTA instance stats to GSHUB we will only send statistics that have trace size of 1 // for application heartbeats (streamid=0) we will only send last stat in their traces if ((sz == 1) || (trace[sz-1].ftaid.streamid == 0)) { - if (set_instancestats(gshub,get_instance_name(),&trace[sz-1])!=0) { + /* disable sending heartbeats for now to avoid overloading gshub */ + /*if (set_instancestats(gshub,get_instance_name(),&trace[sz-1])!=0) { gslog(LOG_EMERG,"ERROR:could not set instancestats"); return -1; - } + } */ }