OpenC3/cosmos

View on GitHub
openc3-cosmos-cmd-tlm-api/app/models/streaming_thread.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method redis_thread_body has 44 lines of code (exceeds 25 allowed). Consider refactoring.
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
Severity: Minor
Found in openc3-cosmos-cmd-tlm-api/app/models/streaming_thread.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status