mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
26 lines
846 B
JSON
26 lines
846 B
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^4.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"comment": "Allows multiple simultaneous read operations. All locks are threadsafe.",
|
|
"@id": "urn:solid-server:default:ResourceLocker",
|
|
"@type": "WrappedExpiringReadWriteLocker",
|
|
"locker": {
|
|
"@id": "urn:solid-server:default:RedisLocker",
|
|
"@type": "RedisLocker"
|
|
},
|
|
"expiration": 3000
|
|
},
|
|
{
|
|
"comment": "Makes sure the redis connection is closed when the application needs to stop. Also deletes still-existing locks and counters.",
|
|
"@id": "urn:solid-server:default:Finalizer",
|
|
"@type": "ParallelFinalizer",
|
|
"finalizers": [
|
|
{
|
|
"@id": "urn:solid-server:default:RedisLocker"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|