feat: Add redis based locking mechanism

* feat: redis based locking mechanism

* fix: adapted to review and wrote unit tests

* fix: adapted to review(Woutermont)

* fix: adapted to review and expanded tests

* test: redlock integration tests

* test: corrected file name

* test: tests should run on CI now

* test: improved tests and minor changes according to review

* fix: forgot describeIf docker

* test: adapted to review

* test: Mock all redis dependencies

Co-authored-by: Joachim Van Herwegen <joachimvh@gmail.com>
This commit is contained in:
Arthur Joppart
2021-04-19 09:45:25 +02:00
committed by GitHub
parent 953458231b
commit 99d0173213
8 changed files with 800 additions and 0 deletions

View File

@@ -41,6 +41,10 @@ jobs:
SPARQL_UPDATE: true
ports:
- 4000:8890
redis:
image: redis
ports:
- 6379:6379
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2