Browse Source

En cours de développement

master
losyme 2 months ago
parent
commit
59aa62748b
  1. 8
      internal/application/demo.go

8
internal/application/demo.go

@ -7,7 +7,7 @@
package application
import (
// "forge.chapril.org/dune/sdk/runner"
"forge.chapril.org/dune/sdk/runner"
"forge.chapril.org/dune/sdk/workers"
"forge.chapril.org/losyme/minikit/pkg/components"
)
@ -31,12 +31,12 @@ type demo struct {
}
func (app *Application) setupDemo() error {
// runner := runner.New(app.components.Application.Name(), app.components.Model)
runner := runner.New(app.components.Application.Name(), app.components.Model)
cfg := &workers.Config{
PoolSize: 2,
// Runner: runner,
Logger: newDemoLogger(app.components.Logger),
Runner: runner,
Logger: newDemoLogger(app.components.Logger),
}
workers, err := workers.New(cfg)

Loading…
Cancel
Save