Mongoku
Mongoku copied to clipboard
Add timeout for find queries
Browser usually drops connection after 5 minutes as timeout request, but find query continues to execute and create cpu load. This behaviour can be reproduced with regexp query on big dbs (millions of documents).