Skip to content

Commit

Permalink
feat: Add filelog.mtimeSortType feature flag (#1339)
Browse files Browse the repository at this point in the history
add filelog.mtimeSortType feature flag
  • Loading branch information
BinaryFissionGames authored Nov 28, 2023
1 parent 821a6ab commit cc933ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions collector/featuregates.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,9 @@ func SetFeatureFlags() error {
if err := featuregate.GlobalRegistry().Set("filelog.allowHeaderMetadataParsing", true); err != nil {
return fmt.Errorf("failed to enable filelog.allowHeaderMetadataParsing: %w", err)
}
if err := featuregate.GlobalRegistry().Set("filelog.mtimeSortType", true); err != nil {
return fmt.Errorf("failed to enable filelog.mtimeSortType: %w", err)
}

return nil
}

0 comments on commit cc933ad

Please sign in to comment.