• Francisco Javier López's avatar
    Move snippet commit ousitde update transaction · 6bd25a6c
    Francisco Javier López authored
    At the moment, when we update the snippet, we
    also commit the information to the repository.
    We do this inside a db transaction.
    
    Nevertheless, because of this, some info is
    not available to the different thread handling
    the commit action.
    
    This creates a race condition with the storage.
    
    In this commit we move the commit action
    outside the snippet db transaction.
    6bd25a6c
fj-213436-move-update-outside-transaction.yml 107 Bytes