Skip to content

Commit

Permalink
always show traffic stats
Browse files Browse the repository at this point in the history
  • Loading branch information
arriven committed Apr 12, 2022
1 parent 2346177 commit a91cfe6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 189 deletions.
5 changes: 0 additions & 5 deletions src/utils/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,6 @@ func (r *Reporter) WriteSummary(target io.Writer) {
defer w.Flush()

stats := r.SumAllStatsByTarget()
if stats.sum(RequestsSentStat) == 0 {
fmt.Fprintln(w, "[Error] No traffic generated. If you see this message a lot - contact admins")

return
}

fmt.Fprintln(w, "\n\n!Атака проводиться успішно! Русскій воєнний корабль іди нахуй!")
fmt.Fprintln(w, "!Attack is successful! Russian warship, go fuck yourself!")
Expand Down
184 changes: 0 additions & 184 deletions src/utils/metrics/metrics_internal_test.go

This file was deleted.

0 comments on commit a91cfe6

Please sign in to comment.