iron-io / issues

For Iron.io services issue tracking. Public facing issue tracking for behind the scenes issues.
5 stars 0 forks source link

Feature request: Visibility into delay #84

Open chmac opened 10 years ago

chmac commented 10 years ago

I post a job to a queue like:

$ironmq->postMessage('some_queue', 'message body', ['delay' => 300]);

I store the returned id and then retrieve it like:

$ironmq->getMessagePushStatuses('some_queue', 5930100000000016221);

I get back something like:

Array
(
    [0] => stdClass Object
        (
            [retries_delay] => 60
            [retries_remaining] => 3
            [retries_total] => 3
            [status_code] => 0
            [status] => retrying
            [url] =>
            [id] => 5930100000000016221
        )

)

There's no way for me to see that there is a delay on this item or what that delay is. It'd be nice to have something like "embargoed until utc timestamp", or the posted time and the delay parameter.

treeder commented 10 years ago

Thanks for the request, we'll look into this soon.