Repository: microsoft/garnet
File: libs/host/Configuration/Options.cs (C#)

Code before:
                ObjectStoreReadCacheHeapMemorySize = ObjectStoreReadCacheHeapMemorySize,
                EnableStorageTier = enableStorageTier,
                CopyReadsToTail = CopyReadsToTail.GetValueOrDefault(),
                ObjectStoreCopyReadsToTail = ObjectStoreCopyReadsToTail.GetValueOrDefault(),
                LogDir = logDir,
                CheckpointDir = checkpointDir,
                Recover = Recover.GetValueOrDefault(),
                EnableIncrementalSnapshots = EnableIncrementalSnapshots.GetValueOrDefault(),
                DisablePubSub = DisablePubSub.GetValueOrDefault(),
                PubSubPageSize = PubSubPageSize,
                DisableObjects = DisableObjects.GetValueOrDefault(),
                EnableCluster = EnableCluster.GetValueOrDefault(),
                CleanClusterConfig = CleanClusterConfig.GetValueOrDefault(),
                ParallelMigrateTaskCount = ParallelMigrateTaskCount,
                FastMigrate = FastMigrate.GetValueOrDefault(),
                AuthSettings = GetAuthenticationSettings(logger),
                EnableAOF = EnableAOF.GetValueOrDefault(),
                EnableLua = EnableLua.GetValueOrDefault(),
                LuaTransactionMode = LuaTransactionMode.GetValueOrDefault(),
                AofMemorySize = AofMemorySize,
                AofPageSize = AofPageSize,
                AofReplicationRefreshFrequencyMs = AofReplicationRefreshFrequencyMs,
                CommitFrequencyMs = CommitFrequencyMs,
                WaitForCommit = WaitForCommit.GetValueOrDefault(),
                AofSizeLimit = AofSizeLimit,
                AofSizeLimitEnforceFrequency = AofSizeLimitEnforceFrequency,
                CompactionFrequencySecs = CompactionFrequencySecs,
                ExpiredObjectCollectionFrequencySecs = ExpiredObjectCollectionFrequencySecs,
                CompactionType = CompactionType,
                CompactionForceDelete = CompactionForceDelete.GetValueOrDefault(),
                CompactionMaxSegments = CompactionMaxSegments,
                ObjectStoreCompactionMaxSegments = ObjectStoreCompactionMaxSegments,
                GossipSamplePercent = GossipSamplePercent,
                GossipDelay = GossipDelay,
                ClusterTimeout = ClusterTimeout,
                ClusterConfigFlushFrequencyMs = ClusterConfigFlushFrequencyMs,
                EnableFastCommit = EnableFastCommit.GetValueOrDefault(),
                FastCommitThrottleFreq = FastCommitThrottleFreq,
                NetworkSendThrottleMax = NetworkSendThrottleMax,
                TlsOptions = EnableTLS.GetValueOrDefault() ? new GarnetTlsOptions(
                    CertFileName, CertPassword,
                    ClientCertificateRequired.GetValueOrDefault(),
                    CertificateRevocationCheckMode,
                    IssuerCertificatePath,
                    CertSubjectName,
                    CertificateRefreshFrequency,
                    EnableCluster.GetValueOrDefault(),
                    ClusterTlsClientTargetHost,
                    ServerCertificateRequired.GetValueOrDefault(),
                    logger: logger) : null,
                LatencyMonitor = LatencyMonitor.GetValueOrDefault(),

Review comment (suggestion):
These should be `AofSizeLimitEnforceFrequencyMs` here and other related places, similar to `AofReplicationRefreshFrequencyMs`.

Code after:
                ObjectStoreReadCacheHeapMemorySize = ObjectStoreReadCacheHeapMemorySize,
                EnableStorageTier = enableStorageTier,
                CopyReadsToTail = CopyReadsToTail.GetValueOrDefault(),
                ObjectStoreCopyReadsToTail = ObjectStoreCopyReadsToTail.GetValueOrDefault(),
                LogDir = logDir,
                CheckpointDir = checkpointDir,
                Recover = Recover.GetValueOrDefault(),
                EnableIncrementalSnapshots = EnableIncrementalSnapshots.GetValueOrDefault(),
                DisablePubSub = DisablePubSub.GetValueOrDefault(),
                PubSubPageSize = PubSubPageSize,
                DisableObjects = DisableObjects.GetValueOrDefault(),
                EnableCluster = EnableCluster.GetValueOrDefault(),
                CleanClusterConfig = CleanClusterConfig.GetValueOrDefault(),
                ParallelMigrateTaskCount = ParallelMigrateTaskCount,
                FastMigrate = FastMigrate.GetValueOrDefault(),
                AuthSettings = GetAuthenticationSettings(logger),
                EnableAOF = EnableAOF.GetValueOrDefault(),
                EnableLua = EnableLua.GetValueOrDefault(),
                LuaTransactionMode = LuaTransactionMode.GetValueOrDefault(),
                AofMemorySize = AofMemorySize,
                AofPageSize = AofPageSize,
                AofReplicationRefreshFrequencyMs = AofReplicationRefreshFrequencyMs,
                CommitFrequencyMs = CommitFrequencyMs,
                WaitForCommit = WaitForCommit.GetValueOrDefault(),
                AofSizeLimit = AofSizeLimit,
                AofSizeLimitEnforceFrequencySecs = AofSizeLimitEnforceFrequencySecs,
                CompactionFrequencySecs = CompactionFrequencySecs,
                ExpiredObjectCollectionFrequencySecs = ExpiredObjectCollectionFrequencySecs,
                CompactionType = CompactionType,
                CompactionForceDelete = CompactionForceDelete.GetValueOrDefault(),
                CompactionMaxSegments = CompactionMaxSegments,
                ObjectStoreCompactionMaxSegments = ObjectStoreCompactionMaxSegments,
                GossipSamplePercent = GossipSamplePercent,
                GossipDelay = GossipDelay,
                ClusterTimeout = ClusterTimeout,
                ClusterConfigFlushFrequencyMs = ClusterConfigFlushFrequencyMs,
                EnableFastCommit = EnableFastCommit.GetValueOrDefault(),
                FastCommitThrottleFreq = FastCommitThrottleFreq,
                NetworkSendThrottleMax = NetworkSendThrottleMax,
                TlsOptions = EnableTLS.GetValueOrDefault() ? new GarnetTlsOptions(
                    CertFileName, CertPassword,
                    ClientCertificateRequired.GetValueOrDefault(),
                    CertificateRevocationCheckMode,
                    IssuerCertificatePath,
                    CertSubjectName,
                    CertificateRefreshFrequency,
                    EnableCluster.GetValueOrDefault(),
                    ClusterTlsClientTargetHost,
                    ServerCertificateRequired.GetValueOrDefault(),
                    logger: logger) : null,
                LatencyMonitor = LatencyMonitor.GetValueOrDefault(),