Skip to content

Lock caso process

Álvaro López García requested to merge github/fork/alvarolopez/bug/34 into master

If cASO runs in parallel it will end up providing duplicate records. We add now a locking mechanism so that it does not run in parallel, but it locks until the first execution has ended.

Closes IFCA/caso#34

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. Please note that there may be some sections that may not apply to your change, in that case feel free to delete them.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • This change is a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Merge request reports