Skip to content

Commit

Permalink
rework
Browse files Browse the repository at this point in the history
  • Loading branch information
jchapma committed Aug 29, 2024
1 parent ab51bf2 commit 96a4a5f
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 77 deletions.
4 changes: 1 addition & 3 deletions src/cockpit/389-console/src/database.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ export class Database extends React.Component {
globalDBConfig: {
activeTab: 0,
},
backendImplement: BE_IMPL_MDB,
configUpdated: 0,
// Chaining Config
chainingConfig: {},
chainingUpdated: 0,
chainingActiveKey: 0,
backendImplement: "mdb",
// Chaining Link
chainingLoading: false,
// Suffix
Expand Down Expand Up @@ -250,7 +250,6 @@ export class Database extends React.Component {
dbimplement = attrs['nsslapd-backend-implement'][0];
this.setState({ backendImplement: dbimplement });
}

if (dbimplement === BE_IMPL_BDB) {
let db_cache_auto = false;
let import_cache_auto = false;
Expand Down Expand Up @@ -319,7 +318,6 @@ export class Database extends React.Component {
mdbmaxreaders: attrs['nsslapd-mdb-max-readers'][0],
mdbmaxdbs: attrs['nsslapd-mdb-max-dbs'][0],
dbhomedir: dbhome,
importcachesize: attrs['nsslapd-import-cachesize'][0],
},
configUpdated: 1
}), () => { this.loadNDN() });
Expand Down
Loading

0 comments on commit 96a4a5f

Please sign in to comment.