mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Refactor async runner and its reference and add unit tests
This commit is contained in:
@@ -131,6 +131,7 @@ func (mq *MemoryMQ) Push(job *models.Task) (*models.Task, error) {
|
||||
// Push the work onto the queue.
|
||||
return mq.pushForce(job)
|
||||
}
|
||||
|
||||
func (mq *MemoryMQ) pushTimeout(job *models.Task) error {
|
||||
|
||||
ji := &TaskItem{
|
||||
|
||||
Reference in New Issue
Block a user