Skip to content

Commit

Permalink
lightning, importinto: reduce disk quota interval (#44927) (#44998)
Browse files Browse the repository at this point in the history
close #44926
  • Loading branch information
ti-chi-bot authored Jun 27, 2023
1 parent db79551 commit 54f275b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/importer/table_import.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var NewTiKVModeSwitcher = local.NewTiKVModeSwitcher
var (
// CheckDiskQuotaInterval is the default time interval to check disk quota.
// TODO: make it dynamically adjusting according to the speed of import and the disk size.
CheckDiskQuotaInterval = time.Minute
CheckDiskQuotaInterval = 10 * time.Second
)

// prepareSortDir creates a new directory for import, remove previous sort directory if exists.
Expand Down

0 comments on commit 54f275b

Please sign in to comment.