Skip to content

Commit

Permalink
compress binary
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-cordenier committed Nov 7, 2024
1 parent 235d85b commit afd9d00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file added core/services/workflows/syncer/workflow.wasm.br
Binary file not shown.
4 changes: 2 additions & 2 deletions core/services/workflows/syncer/workflow_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var (
//go:embed config.yaml
config []byte

//go:embed workflow.wasm
//go:embed workflow.wasm.br
workflow []byte
)

Expand Down Expand Up @@ -71,7 +71,7 @@ func (w *WorkflowRegistry) trySetup() bool {
return true
}

moduleConfig := &host.ModuleConfig{Logger: logger.NullLogger, IsUncompressed: true}
moduleConfig := &host.ModuleConfig{Logger: logger.NullLogger}
spec, err := host.GetWorkflowSpec(ctx, moduleConfig, workflow, config)
if err != nil {
w.Logger.Errorf("failed to get workflow spec", err)
Expand Down

0 comments on commit afd9d00

Please sign in to comment.