Skip to content

Commit

Permalink
Merge pull request #203 from stellar/revert-usedb
Browse files Browse the repository at this point in the history
Revert usedb flag which is slow
  • Loading branch information
sydneynotthecity authored Oct 17, 2023
2 parents e978a83 + fa67640 commit 5ffbe92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions internal/input/changes.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func PrepareCaptiveCore(execPath string, tomlPath string, start, end uint32, env
NetworkPassphrase: env.NetworkPassphrase,
HistoryArchiveURLs: env.ArchiveURLs,
Strict: true,
UseDB: true,
UseDB: false,
},
)
if err != nil {
Expand All @@ -45,7 +45,7 @@ func PrepareCaptiveCore(execPath string, tomlPath string, start, end uint32, env
Toml: toml,
NetworkPassphrase: env.NetworkPassphrase,
HistoryArchiveURLs: env.ArchiveURLs,
UseDB: true,
UseDB: false,
},
)
if err != nil {
Expand Down
4 changes: 2 additions & 2 deletions internal/utils/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ func (e EnvironmentDetails) CreateCaptiveCoreBackend() (*ledgerbackend.CaptiveSt
NetworkPassphrase: e.NetworkPassphrase,
HistoryArchiveURLs: e.ArchiveURLs,
Strict: true,
UseDB: true,
UseDB: false,
},
)
if err != nil {
Expand All @@ -658,7 +658,7 @@ func (e EnvironmentDetails) CreateCaptiveCoreBackend() (*ledgerbackend.CaptiveSt
Toml: captiveCoreToml,
NetworkPassphrase: e.NetworkPassphrase,
HistoryArchiveURLs: e.ArchiveURLs,
UseDB: true,
UseDB: false,
},
)
return backend, err
Expand Down

0 comments on commit 5ffbe92

Please sign in to comment.