mirror of
https://github.com/go-gitea/gitea
synced 2025-02-02 16:57:45 +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 {
|
func (c *ChannelQueue) Push(data Data) error {
|
||||||
if c.exemplar != nil {
|
if c.exemplar != nil {
|
||||||
// Assert data is of same type as r.exemplar
|
// Assert data is of same type as r.exemplar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user