chore: enable GHC NumericUnderscores language extension

The `_` character between numeric literals improve their readablity.

Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
This commit is contained in:
Taimoor Zaeem
2026-06-28 01:01:12 +05:00
parent 84e2a0c829
commit 18646a6c03
7 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -371,7 +371,7 @@ retryingSchemaCacheLoad appState@AppState{stateObserver=observer, stateMainThrea
let delayMicroseconds = 32*oneSecondInUs {-32 seconds-} in
capDelay delayMicroseconds $ exponentialBackoff oneSecondInUs
oneSecondInUs = 1000000 -- one second in microseconds
oneSecondInUs = 1_000_000 -- one second in microseconds
newSchemaCacheStatus :: IO SchemaCacheStatus
newSchemaCacheStatus = SchemaCacheStatus <$> newEmptyTMVarIO
+1 -1
View File
@@ -97,7 +97,7 @@ retryingListen appState nextDelay hasDbListenerBug = do
where
observer = AppState.getObserver appState
mainThreadId = AppState.getMainThreadId appState
oneSecondInMicro = 1000000
oneSecondInMicro = 1_000_000
maxDelay = 32
handleNotification channel msg =
+1 -1
View File
@@ -52,7 +52,7 @@ data LoggerState = LoggerState
init :: IO LoggerState
init = mdo
let
oneSecond = 1000000
oneSecond = 1_000_000
loggerState = LoggerState zTime debouncePoolTimeout
zTime <- mkAutoUpdate defaultUpdateSettings { updateAction = getZonedTime }
debouncePoolTimeout <- makeDebouncer $