mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Refactor time durations (#58484)
This change uses `time.Second` in place of `1000 * time.Millisecond` and `time.Minute` in place of `60*time.Second`.
This commit is contained in:
@@ -2170,7 +2170,7 @@ func printAllAnnotations(annos map[int64]annotations.Item) string {
|
||||
|
||||
func TestStaleResultsHandler(t *testing.T) {
|
||||
evaluationTime := time.Now()
|
||||
interval := 60 * time.Second
|
||||
interval := time.Minute
|
||||
|
||||
ctx := context.Background()
|
||||
_, dbstore := tests.SetupTestEnv(t, 1)
|
||||
|
||||
Reference in New Issue
Block a user