Skip to content

queue is not FIFO, but LIFO actually.. #102

Description

@aki-s

Version of go-workers

v0.0.0-20180112190529-dbf81d0b75bb

Details

  • line.86 in workers.fetcher.go
  • line.81 in workers.enqueue.go

image

My concern

I don't know the spec of Sidekiq, but I suspect we should use lpush instead of rpush to be FIFO.
What do you think Mr. @jrallison ?

It looks Sidekiq is actually FIFO sidekiq/sidekiq#3420 .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions