mirror of
https://github.com/c9s/bbgo.git
synced 2024-09-20 08:11:08 +00:00
fix typo
This commit is contained in:
parent
553976449d
commit
f42ef77296
|
@ -8,7 +8,7 @@ import (
|
|||
"github.com/c9s/bbgo/pkg/util"
|
||||
)
|
||||
|
||||
func (s *Strategy) runBackgrounTask(ctx context.Context) {
|
||||
func (s *Strategy) runBackgroundTask(ctx context.Context) {
|
||||
s.logger.Info("run background task")
|
||||
|
||||
// recover active orders
|
||||
|
|
|
@ -328,7 +328,7 @@ func (s *Strategy) Run(ctx context.Context, _ bbgo.OrderExecutor, session *bbgo.
|
|||
})
|
||||
})
|
||||
|
||||
go s.runBackgrounTask(ctx)
|
||||
go s.runBackgroundTask(ctx)
|
||||
|
||||
bbgo.OnShutdown(ctx, func(ctx context.Context, wg *sync.WaitGroup) {
|
||||
defer wg.Done()
|
||||
|
|
Loading…
Reference in New Issue
Block a user