openc3-cosmos-cmd-tlm-api/app/models/streaming_thread.rb
Method redis_thread_body
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def redis_thread_body
topics, offsets, item_objects_by_topic, packet_objects_by_topic = @collection.topics_offsets_and_objects
results = []
if topics.length > 0
# 500ms timeout to allow for thread to shutdown within 1 second