pact-foundation / pact_broker

Enables your consumer driven contracts workflow
http://pactflow.io
MIT License
708 stars 176 forks source link

Do not write to database when a pact is republished #656

Closed bethesque closed 10 months ago

bethesque commented 11 months ago

When the same pact is re-published, the code goes through the "update pact" logic, which is unnecessary and makes the request take a long time.

The code should identify that there is no new revision to be made, and not write to the database.