summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/jobs/drivers/beanstalk/config.go2
-rw-r--r--plugins/jobs/drivers/beanstalk/consumer.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/jobs/drivers/beanstalk/config.go b/plugins/jobs/drivers/beanstalk/config.go
index c1059d1e..f0012362 100644
--- a/plugins/jobs/drivers/beanstalk/config.go
+++ b/plugins/jobs/drivers/beanstalk/config.go
@@ -32,7 +32,7 @@ type Config struct {
func (c *Config) InitDefault() {
if c.Tube == "" {
- c.Tube = "default-" + time.Now().String()
+ c.Tube = "default"
}
if c.ReserveTimeout == 0 {
diff --git a/plugins/jobs/drivers/beanstalk/consumer.go b/plugins/jobs/drivers/beanstalk/consumer.go
index 8bd11a58..dec54426 100644
--- a/plugins/jobs/drivers/beanstalk/consumer.go
+++ b/plugins/jobs/drivers/beanstalk/consumer.go
@@ -206,7 +206,7 @@ func (j *JobConsumer) Run(p *pipeline.Pipeline) error {
go j.listen()
j.eh.Push(events.JobEvent{
- Event: events.EventPipeRun,
+ Event: events.EventPipeActive,
Driver: pipe.Driver(),
Pipeline: pipe.Name(),
Start: time.Now(),