If an import is initiated via a browser, e.g. "/importfrommongo?from=" then the browser may trigger multiple requests which can result in multiple concurrent import processes.
Steps to reproduce the behavior:
Trigger an import using a browser
Observe the logs
Expected behavior
If an import is already running then subsequent requests should indicate that another import can't be started.
If an existing import has not indicated any activity for 5 minutes then it is assumed to have hung and a new import would be permitted.
What
If an import is initiated via a browser, e.g. "/importfrommongo?from=" then the browser may trigger multiple requests which can result in multiple concurrent import processes.
Steps to reproduce the behavior:
Expected behavior
If an import is already running then subsequent requests should indicate that another import can't be started.
If an existing import has not indicated any activity for 5 minutes then it is assumed to have hung and a new import would be permitted.