Skip to content

Commit

Permalink
Revert "[ISSUE #4810] Correction of spelling mistakes in TimerMessage…
Browse files Browse the repository at this point in the history
…Store"

This reverts commit 9cc06bc.
  • Loading branch information
lizhanhui committed Aug 11, 2022
1 parent 9cc06bc commit d17ba83
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -81,7 +81,7 @@ public class TimerMessageStore {
public static final int DAY_SECS = 24 * 3600;
// The total days in the timer wheel when precision is 1000ms.
// If the broker shutdown last more than the configured days, will cause message loss
public static final int TIMER_WHEEL_TTL_DAY = 7;
public static final int TIMER_WHELL_TTL_DAY = 7;
public static final int TIMER_BLANK_SLOTS = 60;
public static final int MAGIC_DEFAULT = 1;
public static final int MAGIC_ROLL = 1 << 1;
Expand Down Expand Up @@ -153,7 +153,7 @@ public TimerMessageStore(final MessageStore messageStore, final MessageStoreConf
this.timerLogFileSize = storeConfig.getMappedFileSizeTimerLog();
this.precisionMs = storeConfig.getTimerPrecisionMs();
// TimerWheel contains the fixed number of slots regardless of precision.
this.slotsTotal = TIMER_WHEEL_TTL_DAY * DAY_SECS;
this.slotsTotal = TIMER_WHELL_TTL_DAY * DAY_SECS;
this.timerWheel = new TimerWheel(getTimerWheelPath(storeConfig.getStorePathRootDir()),
this.slotsTotal, precisionMs);
this.timerLog = new TimerLog(getTimerLogPath(storeConfig.getStorePathRootDir()), timerLogFileSize);
Expand Down

0 comments on commit d17ba83

Please sign in to comment.