Skip to content

Commit

Permalink
fixed processing of non-commit messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mackuba committed Oct 30, 2023
1 parent 6a7bf77 commit f232057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/firehose_stream.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ def handle_message(msg)
# puts "Handle change: #{msg.repo} => #{msg.handle}"
elsif msg.is_a?(Skyfall::UnknownMessage)
puts "Unknown message type: #{msg.type}"
elsif msg.type != :commit
return
end

return unless msg.type == :commit

if @replaying
puts "Replaying events since #{msg.time.getlocal} -->"
@replaying = false
Expand Down

0 comments on commit f232057

Please sign in to comment.