fix: don't need acks on queue checks (#926)

This commit is contained in:
abelanger5
2024-10-01 20:52:02 -04:00
committed by GitHub
parent c29984305e
commit c3fa2c57f3
5 changed files with 27 additions and 9 deletions

View File

@@ -136,6 +136,9 @@ type Message struct {
// RetryDelay is the delay between retries.
RetryDelay int `json:"retry_delay"`
// Whether the message should immediately expire if it reaches the queue without an active consumer.
ImmediatelyExpire bool `json:"immediately_expire"`
// OtelCarrier is the OpenTelemetry carrier for the task.
OtelCarrier map[string]string `json:"otel_carrier"`
}