Skip to content

Releases: traderinteractive/mongo-queue-csharp

Patch release

Choose a tag to compare

@yonderblue yonderblue released this 05 Feb 18:52

Add prefix check to index generation.

When calling EnsureGetIndex() or EnsureCountIndex(), whatever index gets generated will only be put in place if it is not a prefix of an existing index. It is often the case where one calls Count() on very similiar queries to Get(). Doing your EnsureGetIndex() calls before EnsureCountIndex() will now only generate the non overlapping indexes, speeding up all writes.

Minor release

Choose a tag to compare

@yonderblue yonderblue released this 24 Jan 19:24

Enhancement

Added a newTimestamp parameter to AckSend() and Requeue() that controls whether to use the existing timestamp within the message or create a new one. Ramifications of this will be on Get() when the priorities match it falls back to this timestamp, and sometimes one wishes to keep the original.

Minor release

Choose a tag to compare

@yonderblue yonderblue released this 29 Jul 20:43

Enhancement

  • Add approximateWait parameter to Get(). This allows the Queue to fluctuate the wait time randomly by +-10 percent. This ensures Get() calls seperate in time when multiple Queues are used in loops started at the same time.

Fix

  • The Get() internal loop will now exit after it finishes sleeping if the wait time is up. This avoids back to back queries when the use case is giving the same value for wait and poll.