Commit b28b492 1 parent 6ee6ddb commit b28b492 Copy full SHA for b28b492
File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -230,15 +230,20 @@ class StatusReporter : public PeriodicJob {
230
230
static Data::Producer s_dp (" Status Reports" );
231
231
if (s_has_shutdown) return ;
232
232
if (!m_fetch->busy ()) {
233
+ Log::debug (Log::CODEBASE, " [codebase] Start collecting status" );
234
+
233
235
WorkerManager::get ().status (
234
236
[this ](Status &status) {
235
237
if (m_send_metrics) {
238
+ Log::debug (Log::CODEBASE, " [codebase] Start collecting metrics" );
236
239
WorkerManager::get ().stats (
237
240
[&](stats::MetricDataSum &metric_data_sum) {
241
+ Log::debug (Log::CODEBASE, " [codebase] Start sending status report" );
238
242
send (status, &metric_data_sum);
239
243
}
240
244
);
241
245
} else {
246
+ Log::debug (Log::CODEBASE, " [codebase] Start sending status report" );
242
247
send (status, nullptr );
243
248
}
244
249
}
@@ -283,8 +288,8 @@ class StatusReporter : public PeriodicJob {
283
288
284
289
Log::debug (
285
290
Log::CODEBASE,
286
- " [codebase] Sent status report in %dms (size = %d)" ,
287
- int (utils::now () - time ), size
291
+ " [codebase] Sent status report in %dms (size = %d, response = %d )" ,
292
+ int (utils::now () - time ), size, head-> status
288
293
);
289
294
}
290
295
);
You can’t perform that action at this time.
0 commit comments