Skip to content

Commit

Permalink
[MySQL] Migrate conformance binary
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Feb 12, 2025
1 parent e90f994 commit 6a6e039
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmd/conformance/mysql/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ func main() {
noteSigner, additionalSigners := createSignersOrDie()

// Initialise the Tessera MySQL storage
driver, err := mysql.New(ctx, db,
tessera.WithCheckpointSigner(noteSigner, additionalSigners...),
tessera.WithCheckpointInterval(*publishInterval),
)
driver, err := mysql.New(ctx, db)
if err != nil {
klog.Exitf("Failed to create new MySQL storage: %v", err)
}

appender, reader, err := tessera.NewAppender(driver, tessera.WithAppendDeduplication(tessera.InMemoryDedupe(256)))
appender, reader, err := tessera.NewAppender(ctx, driver,
tessera.WithCheckpointSigner(noteSigner, additionalSigners...),
tessera.WithCheckpointInterval(*publishInterval),
tessera.WithAppendDeduplication(tessera.InMemoryDedupe(256)))
addFn := appender.Add
if err != nil {
klog.Exit(err)
Expand Down

0 comments on commit 6a6e039

Please sign in to comment.