Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

fix: not having timing headers isn't an error #71

Merged
merged 1 commit into from
Mar 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func (p *pool) fetchResource(ctx context.Context, from string, resource string,
// todo: refactor for dryness
func updateSuccessServerTimingMetrics(timingHeaders []string, resourceType string, isCacheHit bool, totalTimeMs, ttfbMs int64, recieved int) {
if len(timingHeaders) == 0 {
goLogger.Error("no timing headers found")
goLogger.Debug("no timing headers in request response.")
return
}

Expand Down