Skip to content

Commit

Permalink
DocumentHardDeletionGracefulPeriod type and value change
Browse files Browse the repository at this point in the history
  • Loading branch information
fourjae committed Jul 30, 2024
1 parent 6162e71 commit c171085
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions server/backend/housekeeping/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package housekeeping_test

import (
"testing"
"time"

"github.com/stretchr/testify/assert"

Expand All @@ -30,7 +29,7 @@ func TestConfig(t *testing.T) {
validConf := housekeeping.Config{
IntervalDeactivateCandidates: "1m",
IntervalDeleteDocuments: "1m",
DocumentHardDeletionGracefulPeriod: time.Minute,
DocumentHardDeletionGracefulPeriod: 60,
ClientDeactivationCandidateLimitPerProject: 100,
DocumentHardDeletionCandidateLimitPerProject: 100,
ProjectFetchSize: 100,
Expand Down
2 changes: 1 addition & 1 deletion test/helper/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ var (
UseDefaultProject = true
HousekeepingIntervalDeactivateCandidates = 10 * gotime.Second
HousekeepingIntervalDeleteDocuments = 10 * gotime.Second
HousekeepingDocumentHardDeletionGracefulPeriod = 0 * gotime.Second
HousekeepingDocumentHardDeletionGracefulPeriod = 10 * gotime.Second
HousekeepingClientDeactivationCandidateLimitPerProject = 10
HousekeepingDocumentHardDeletionCandidateLimitPerProject = 10
HousekeepingProjectFetchSize = 10
Expand Down

0 comments on commit c171085

Please sign in to comment.