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 reconnect automatically after disconnect? #27

Open
felixchan opened this issue Jul 15, 2012 · 0 comments
Open

How to reconnect automatically after disconnect? #27

felixchan opened this issue Jul 15, 2012 · 0 comments

Comments

@felixchan
Copy link

If I use a persistent connection in Limestone, sometimes it just "breaks". Is there a way to automatically connect back to the Sphinx server when this happens?

limestone.connect(9312, true, function(err){
});

app.get('/index/search/:query', function(req,res){
    limestone.query... //perform queries whenever someone hits a page
})
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

1 participant