chore(dbtable): deactivated async table via config

This commit is contained in:
David Mosbach 2024-07-01 01:46:10 +00:00
parent 2e091850a4
commit 8d0be9a5b2
2 changed files with 2 additions and 2 deletions

View File

@ -340,4 +340,4 @@ volatile-cluster-settings-cache-time: 10
communication-attachments-max-size: 20971520 # 20MiB
async-table-max-rows: 500
async-table-max-rows: 0

View File

@ -1652,7 +1652,7 @@ dbTable PSValidator{..} dbtable@DBTable{ dbtIdent = dbtIdent'@(toPathPiece -> db
let
maxRows = fromIntegral @Natural @Int $ fromMaybe 0 appAsyncTableMaxRows
isSync = length rows > maxRows
isSync = length rows >= maxRows
wrapLayout :: DBResult m x -> DB (DBResult m x)
wrapLayout = dbHandler (Proxy @m) (Proxy @x) $ (\table -> $(widgetFile "table/layout-wrapper")) . uiLayout
selector :: (Text, Text)