Skip to content

Conversation

@alecgibson
Copy link
Collaborator

At the moment, the ack is a completely random hex string.

This change updates it to use an ObjectId, which:

  • encodes information about the time the job was pulled (for the first time)
  • ...and can therefore be used to sort jobs in the order they were originally pulled from the queue
  • allows us to simplify the dependencies and code a little

At the moment, the `ack` is a completely random hex string.

This change updates it to use an `ObjectId`, which:

 - encodes information about the time the job was pulled (for the first
   time)
 - ...and can therefore be used to sort jobs in the order they were
   originally pulled from the queue
 - allows us to simplify the dependencies and code a little
@alecgibson alecgibson merged commit edc03cb into main Dec 4, 2024
2 checks passed
@alecgibson alecgibson deleted the object-id-ack branch December 4, 2024 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants