remove locking from accounts service

add a cached named rwlock pkg
use sync.map in the cache pkg
use named rwlock in indexer pkg
use sync.map in indexer pkg
remove husky
This commit is contained in:
Florian Schade
2021-01-19 23:23:41 +01:00
parent f97f0d7342
commit a02fb890f7
11 changed files with 10554 additions and 131 deletions
+10320
View File
File diff suppressed because it is too large Load Diff
-6
View File
@@ -8,11 +8,6 @@
"build": "rollup -c",
"build:w": "rollup -c -w"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts}": [
"eslint --fix"
@@ -40,7 +35,6 @@
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-prettier": "^3.2.0",
"eslint-plugin-simple-import-sort": "^6.0.1",
"husky": "^4.3.0",
"jest": "^25.4.0",
"k6": "^0.0.0",
"lint-staged": "^10.1.7",