Skip to content

Handle Concurrent Publish Requests

Created by: mickadoo

Description

As mentioned in #52 (closed) if we have concurrent requests to publish books then it doesn't make sense to process both of them.

Before

Concurrent requests to publish would publish the same guides twice.

After

While a publishing request is in process any other publishing requests will fail with status 409 and an error message.

  • Tests pass I've created tests for the new code, but existing tests are still broken. All tests are fixed in !64 (closed) so I won't duplicate that here.
Edited by Sean Colsen

Merge request reports

Loading