:delay not working #5

Closed
treeder opened this Issue Jan 3, 2012 · 5 comments

Comments

Projects
None yet
3 participants
@treeder
Contributor

treeder commented Jan 3, 2012

@ironMQ.queue_name = "testDelay"
while res = @ironMQ.messages.get()
p res.inspect
res.delete
end
msgTxt = "testMessage-"+Time.now.to_s
puts msgTxt
@ironMQ.messages.post(msgTxt, {:delay => "1000"})
msg = @ironMQ.messages.get
abort msg.body.to_s

@ghost ghost assigned treeder Jan 3, 2012

@CloudMarc

This comment has been minimized.

Show comment Hide comment
@CloudMarc

CloudMarc Jan 5, 2012

I'm still seeing this:

root@ip-10-205-10-156:~/simple_worker_backend.ha/workers# !bun
bundle show iron_mq
/usr/local/lib/ruby/gems/1.9.1/gems/iron_mq-1.3.1

Is there a problem with my syntax?

@ironMQ.messages.post(msgTxt, {:delay => 1000})

I'm still seeing this:

root@ip-10-205-10-156:~/simple_worker_backend.ha/workers# !bun
bundle show iron_mq
/usr/local/lib/ruby/gems/1.9.1/gems/iron_mq-1.3.1

Is there a problem with my syntax?

@ironMQ.messages.post(msgTxt, {:delay => 1000})

@treeder

This comment has been minimized.

Show comment Hide comment
@treeder

treeder Jan 5, 2012

Contributor

ya, you're right, I posted this and it didn't seem to delay:

:body => "{"delay":5,"body":"testMessage-2012-01-04 16:52:39 -0800"}",

Contributor

treeder commented Jan 5, 2012

ya, you're right, I posted this and it didn't seem to delay:

:body => "{"delay":5,"body":"testMessage-2012-01-04 16:52:39 -0800"}",

@treeder

This comment has been minimized.

Show comment Hide comment
@treeder

treeder Jan 5, 2012

Contributor

@edsrzf is looking into it. I've also created a test in the gem.

Contributor

treeder commented Jan 5, 2012

@edsrzf is looking into it. I've also created a test in the gem.

@edsrzf

This comment has been minimized.

Show comment Hide comment
@edsrzf

edsrzf Jan 5, 2012

Contributor

I think I figured out the problem. Stupid mistake...

Contributor

edsrzf commented Jan 5, 2012

I think I figured out the problem. Stupid mistake...

@treeder

This comment has been minimized.

Show comment Hide comment
@treeder

treeder Feb 12, 2012

Contributor

This fixed now?

Contributor

treeder commented Feb 12, 2012

This fixed now?

@treeder treeder closed this Mar 4, 2012

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