mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-09 01:17:30 +08:00
refactor: simplify boomer runner
This commit is contained in:
@@ -91,7 +91,7 @@ func (b *Boomer) Run(tasks ...*Task) {
|
||||
for _, o := range b.outputs {
|
||||
b.localRunner.addOutput(o)
|
||||
}
|
||||
b.localRunner.run()
|
||||
b.localRunner.start()
|
||||
}
|
||||
|
||||
// RecordTransaction reports a transaction stat.
|
||||
@@ -142,5 +142,5 @@ func (b *Boomer) Quit() {
|
||||
log.Warn().Msg("boomer not initialized")
|
||||
return
|
||||
}
|
||||
b.localRunner.close()
|
||||
b.localRunner.stop()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user