We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d5707c commit fc268edCopy full SHA for fc268ed
x-pack/filebeat/input/s3/input.go
@@ -190,11 +190,11 @@ func (p *s3Input) Run() {
190
191
p.workerWg.Add(1)
192
go p.run(svcSQS, svcS3, visibilityTimeout)
193
- p.workerWg.Done()
194
})
195
}
196
197
func (p *s3Input) run(svcSQS sqsiface.ClientAPI, svcS3 s3iface.ClientAPI, visibilityTimeout int64) {
+ defer p.workerWg.Done()
198
defer p.logger.Infof("s3 input worker for '%v' has stopped.", p.config.QueueURL)
199
200
p.logger.Infof("s3 input worker has started. with queueURL: %v", p.config.QueueURL)
0 commit comments