Creation and destruction of project not immediately taken into account
Right after a project has been created, there's an amount of time during which
hg clone or any other CLI command will fail with HTTP 404.
The reason is that the running internal hgwebdir (with Gunicorn in our current standard setup) rescans its base directories periodically. The default refresh interval time is 20s. This is slow enough that a human being might notice, and it's a major impediment for our functional tests.
Lowering that interval isn't probably very wise for performance reasons. In principle, the
hgwebdir WSGI app should be able to be triggered into refreshing itself via signals or some other dedicated channel.