mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
test: unit test succeeds fix: not quiting loop when releasing unexisting lock refactor: pull wait() function into TimerUtils feat: store all locks inside a single lock folder feat: use md5 hashing for filepath hashes test: coverage back to 100% fix: store locks in proper .internal/locks folder feat: reworked tryfn test: coverage back to 100% buidl: package json types next to lib style: linting dos: add more documentation to Locker classes refactor: SingleThreadedResourceLocker -> MemoryResourceLocker refactor: MultiThreadedResourceLocker -> FileSystemResourceLocker feat: update all file-based backend configs to use the new FileSystemResourceLocker feat: add warning on starting the MemoryResourceLocker in a worker process test: coverage back to 100% fix: finalizer of file.json was configured wrong docs: updated release notes for 5.0.0 refactor: incorporated changes so far refactor: retryFunctions are less complex now test: jitter fix
34 lines
1.2 KiB
JSON
34 lines
1.2 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^4.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"comment": "Allows multiple simultaneous read operations. Locks are stored on filesystem. Locks expire after inactivity. This locker is threadsafe.",
|
|
"@id": "urn:solid-server:default:ResourceLocker",
|
|
"@type": "WrappedExpiringReadWriteLocker",
|
|
"locker": {
|
|
"@type": "GreedyReadWriteLocker",
|
|
"locker": {
|
|
"@id": "urn:solid-server:default:FileSystemResourceLocker",
|
|
"@type": "FileSystemResourceLocker",
|
|
"args_rootFilePath": { "@id": "urn:solid-server:default:variable:rootFilePath" }
|
|
},
|
|
"storage": {
|
|
"@id": "urn:solid-server:default:LockStorage"
|
|
},
|
|
"suffixes_count": "count",
|
|
"suffixes_read": "read",
|
|
"suffixes_write": "write"
|
|
},
|
|
"expiration": 3000
|
|
},
|
|
{
|
|
"comment": "Makes sure the lock folder is cleared and delete when the application needs to stop.",
|
|
"@id": "urn:solid-server:default:Finalizer",
|
|
"@type": "ParallelFinalizer",
|
|
"finalizers": [
|
|
{ "@id": "urn:solid-server:default:FileSystemResourceLocker" }
|
|
]
|
|
}
|
|
]
|
|
}
|