mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-28 09:48:10 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue