SEAPUNK / socketeer

yet another websocket framework
MIT License
3 stars 0 forks source link

Actions: remove queued message on timeout? #46

Closed SEAPUNK closed 8 years ago

SEAPUNK commented 8 years ago

Actions will soon have the ability to time out, as per #7. With that, I'm wondering if the action message is queued, it should be removed from the queue as soon as the action times out.

SEAPUNK commented 8 years ago

It'll be tricky -- the message queue is pretty fragile in its current state.

I'd say to leave it in the queue for now, because with timeouts, anything can happen, even with things like HTTP.

SEAPUNK commented 8 years ago

Yeah, it'll stay in the queue.