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

How to initiate a sync request? #15

Open
leomayleomay opened this issue Nov 18, 2009 · 1 comment
Open

How to initiate a sync request? #15

leomayleomay opened this issue Nov 18, 2009 · 1 comment

Comments

@leomayleomay
Copy link

I'm working on a test for our Nanite agent, but the request initiated by Nanite.request are all async, which means, i can get nothing back from my agent before the test finishes.

Can I initiate a sync request? Thank you

@roidrage
Copy link
Collaborator

There is no synchronous request in Nanite due to the asynchronous nature of the broker in between. Your best bet might be to try moqueue which patches the amqp gem to use a basic in-memory queue instead of a full-blown broker like RabbitMQ.

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