mirror of
https://github.com/go-gitea/gitea
synced 2025-01-23 01:27:48 +01:00
Update modules/queue/queue_channel.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
This commit is contained in:
parent
632757bfa7
commit
6c6d3eae76
@ -82,7 +82,7 @@ func (c *ChannelQueue) Run(atShutdown, atTerminate func(context.Context, func())
|
||||
}()
|
||||
}
|
||||
|
||||
// Push will push the indexer data to queue
|
||||
// Push will push data into the queue
|
||||
func (c *ChannelQueue) Push(data Data) error {
|
||||
if c.exemplar != nil {
|
||||
// Assert data is of same type as r.exemplar
|
||||
|
Loading…
x
Reference in New Issue
Block a user