Private
Public Access
1
0

dns queries: set cache-control header

This commit is contained in:
2025-02-23 09:48:56 -08:00
parent 962839ed89
commit e6f39f201c
2 changed files with 4 additions and 1 deletions

View File

@@ -197,7 +197,7 @@ func (d *ClickHouse) DNSQueries(ctx context.Context) ([]DNSQueryCounts, error) {
ctx, span := tracing.Tracer().Start(ctx, "DNSQueries")
defer span.End()
startUnix := time.Now().Add(-90 * time.Minute).Unix()
startUnix := time.Now().Add(2 * time.Hour * -1).Unix()
startUnix -= startUnix % (60 * 5)
log.InfoContext(ctx, "start time", "start", startUnix)