Skip to content

Commit

Permalink
Update log_processor.go
Browse files Browse the repository at this point in the history
Grammar
  • Loading branch information
thomshutt authored Jul 25, 2024
1 parent cecdd5c commit cbcd453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/analytics/log_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func (p *LogProcessor) sendEvents() {

// We retry sending messages to Kafka in case of a failure
// We don't use any backoff, because the number of events are filling up very quickly, so in case of a failure
// it's better to lose analytics logs than fill up the memory and crashing the whole catalyst-api
// it's better to lose analytics logs than fill up the memory and crash the whole catalyst-api
kafkaWriteRetries := 3
var err error
for i := 0; i < kafkaWriteRetries; i++ {
Expand Down

0 comments on commit cbcd453

Please sign in to comment.