File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 131131 utxoLmdbParams = [ "--v1-lmdb-ledger-db-backend" ]
132132 ++ lib . optionals ( cfg . lmdbDatabasePath i != null )
133133 [ "--ssd-database-dir ${ cfg . lmdbDatabasePath i } "
134- "--ssd-snapshot-tables"
134+ # "--ssd-snapshot-tables"
135135 ] ;
136136 cmd = builtins . filter ( x : x != "" ) [
137137 "${ cfg . executable } run"
715715 config = mkIf cfg . enable ( let
716716 stateDirBase = "/var/lib/" ;
717717 runDirBase = "/run/" ;
718- lmdbPaths = filter ( x : x != null ) ( map ( e : lmdbDatabasePath e ) cfg . instances ) ;
718+ lmdbPaths = filter ( x : x != null ) ( map ( e : cfg . lmdbDatabasePath e ) ( builtins . genList lib . trivial . id cfg . instances ) ) ;
719719 genInstanceConf = f : listToAttrs ( if cfg . instances > 1
720720 then genList ( i : let n = "cardano-node-${ toString i } " ; in nameValuePair n ( f n i ) ) cfg . instances
721721 else [ ( nameValuePair "cardano-node" ( f "cardano-node" 0 ) ) ] ) ; in lib . mkMerge [
818818 message = "Systemd socket activation cannot be used with p2p topology due to a systemd socket re-use issue." ;
819819 }
820820 {
821- assertion = ( length lmdPaths ) == ( length ( lib . lists . unique lmdbPaths ) ) ;
821+ assertion = ( length lmdbPaths ) == ( length ( lib . lists . unique lmdbPaths ) ) ;
822822 message = "When configuring multiple LMDB enabled nodes on one instance, lmdbDatabasePath must be unique." ;
823823 }
824824 ] ;
You can’t perform that action at this time.
0 commit comments