How to detect mongodb down


#1

Hi, does anyone know how to set a timeout on a udpate to capture instance where mongoldb is down? Currently the update, server side, seems to hang forever. If I start mongo up again it completes.

I’d like to set a timeout so I can raise a Meteor.error when it’s taking too long to complete a database operation.

thanks,
Rob