Skip to content

Commit

Permalink
don't remove call when upload failed
Browse files Browse the repository at this point in the history
  • Loading branch information
rosecitytransit committed Mar 21, 2024
1 parent 2fec9dc commit 570b6a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion trunk-recorder/call_concluder/call_concluder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,6 @@ void Call_Concluder::manage_call_data_workers() {
time_t start_time = call_info.start_time;

if (call_info.retry_attempt > Call_Concluder::MAX_RETRY) {
remove_call_files(call_info);
BOOST_LOG_TRIVIAL(error) << "[" << call_info.short_name << "]\t\033[0;34m" << call_info.call_num << "C\033[0m Failed to conclude call - TG: " << call_info.talkgroup_display << "\t" << std::put_time(std::localtime(&start_time), "%c %Z");
} else {
long jitter = rand() % 10;
Expand Down

0 comments on commit 570b6a7

Please sign in to comment.