Skip to content

Commit

Permalink
Made linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mirackara committed Jul 25, 2022
1 parent 66e950d commit 87dcc8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions v3/internal/connect_reply.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ type EventHarvestConfig struct {
} `json:"harvest_limits"`
}

// SpanEventHarvestConfig contains the Reporting period time and the given harvest limit.
type SpanEventHarvestConfig struct {
ReportPeriod *uint `json:"report_period_ms"`
HarvestLimit *uint `json:"harvest_limit"`
Expand Down
5 changes: 1 addition & 4 deletions v3/internal/limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const (
// MaxCustomEvents is the maximum number of Transaction Events that can be captured
// per 60-second harvest cycle
MaxCustomEvents = 30 * 1000
// MaxCustomEvents
// MaxLogEvents is the maximum number of Log Events that can be captured per
// 60-second harvest cycle
MaxLogEvents = 10 * 1000
Expand All @@ -25,7 +24,5 @@ const (
MaxTxnEvents = 10 * 1000
// MaxErrorEvents is the maximum number of Error Events that can be captured
// per 60-second harvest cycle
MaxErrorEvents = 100
DefaultCustomEventsLimit = 30 * 1000
DefaultCustomEventsLimitLegacy = 10 * 10000
MaxErrorEvents = 100
)

0 comments on commit 87dcc8a

Please sign in to comment.