Skip to content

Commit

Permalink
Merge pull request #157 from tstromberg/multiplayer-header
Browse files Browse the repository at this point in the history
Remove obsolete tag warning
  • Loading branch information
tstromberg committed Jun 19, 2020
2 parents bf280db + 2e66392 commit 84ab5b5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/site/page.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ func (h *Handlers) collectionPage(ctx context.Context, id string, refresh bool)
dataAge = result.LatestInput
warning := ""

if result.NewerThan.IsZero() {
warning = fmt.Sprintf("Service started %s ago, and is still downloading data. Tagging may be incomplete. Use Shift-Reload to force a refresh.", humanDuration(time.Since(h.startTime)))
}

if time.Since(result.LatestInput) > h.warnAge {
warning = fmt.Sprintf("Service started %s ago, and is still downloading data. Data may be up to %s old, and incompletely tagged. Use Shift-Reload to force a refresh.", humanDuration(time.Since(h.startTime)), humanDuration(time.Since(result.LatestInput)))
}
Expand Down

0 comments on commit 84ab5b5

Please sign in to comment.