pelim / laravel-zmq

laravel zmq broadcast driver
21 stars 8 forks source link

[Question] What's the purpose of the usleep in publish? #3

Open francislavoie opened 6 years ago

francislavoie commented 6 years ago

https://github.com/pelim/laravel-zmq/blob/master/src/Connector/ZmqPublish.php#L31

I'm just curious why you wait for 0.5ms. Is it a specific workaround for something? Maybe the reason should be documented?

pelim commented 6 years ago

I had some connection issues without the sleep