Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plans to support LISTEN/NOTIFY? #50

Open
pmahoney opened this issue Jul 10, 2016 · 2 comments
Open

Plans to support LISTEN/NOTIFY? #50

pmahoney opened this issue Jul 10, 2016 · 2 comments

Comments

@pmahoney
Copy link

Are there any plans to support LISTEN and NOTIFY? Specifically, I'd like to configure a location block such that when I make an HTTP request, it will block, listening on some condition, until it is notified.

@agentzh
Copy link
Contributor

agentzh commented Jul 10, 2016

@pmahoney There is no such plan AFAIK. It should be much much easier to implement this in the pgmoon Lua library that is based on ngx_lua module's cosocket API, which is also 100% nonblocking inside NGINX:

https://github.com/leafo/pgmoon

@pmahoney
Copy link
Author

Thanks for the tip; I'll check out pgmoon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants