aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm.go
diff options
context:
space:
mode:
Diffstat (limited to 'vm/vm.go')
-rw-r--r--vm/vm.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/vm/vm.go b/vm/vm.go
index 6f66f8a37..879fc8feb 100644
--- a/vm/vm.go
+++ b/vm/vm.go
@@ -437,7 +437,7 @@ func (mon *monitor) createReport(defaultError string) *report.Report {
}
func (mon *monitor) waitForOutput() {
- timer := time.NewTimer(waitForOutputTimeout * mon.inst.pool.timeouts.Scale)
+ timer := time.NewTimer(vmimpl.WaitForOutputTimeout * mon.inst.pool.timeouts.Scale)
defer timer.Stop()
for {
select {
@@ -470,6 +470,5 @@ var (
beforeContextDefault = 128 << 10
afterContext = 128 << 10
- tickerPeriod = 10 * time.Second
- waitForOutputTimeout = 10 * time.Second
+ tickerPeriod = 10 * time.Second
)