diff options
| author | Lisandro Pin <lisandro.pin@proton.ch> | 2025-11-04 22:02:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-04 13:02:22 -0800 |
| commit | f466ff1412005f3db10de9dc4939e52cb4a2add8 (patch) | |
| tree | 13d7a135fc7b20b94c95631b1477ad7b82ca6927 /weed/command/volume.go | |
| parent | f4f2718ba05b13c51f14a316c48a256da6a77fe8 (diff) | |
| download | seaweedfs-f466ff1412005f3db10de9dc4939e52cb4a2add8.tar.xz seaweedfs-f466ff1412005f3db10de9dc4939e52cb4a2add8.zip | |
Nit: use `time.Duration`s instead of constants in seconds. (#7438)
Nit: use `time.Durations` instead of constants in seconds. Makes for slightly more readable code.
Diffstat (limited to 'weed/command/volume.go')
| -rw-r--r-- | weed/command/volume.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go index 58dee0e52..cbd5bc676 100644 --- a/weed/command/volume.go +++ b/weed/command/volume.go @@ -258,7 +258,7 @@ func (v VolumeServerOptions) startVolumeServer(volumeFolders, maxVolumeCounts, v v.folders, v.folderMaxLimits, minFreeSpaces, diskTypes, *v.idxFolder, volumeNeedleMapKind, - v.masters, constants.VolumePulseSeconds, *v.dataCenter, *v.rack, + v.masters, constants.VolumePulsePeriod, *v.dataCenter, *v.rack, v.whiteList, *v.fixJpgOrientation, *v.readMode, *v.compactionMBPerSecond, |
