mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
29 lines
1.1 KiB
JSON
29 lines
1.1 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"comment": "Allows multiple simultaneous read operations. Locks are stored in memory. Locks expire after inactivity.",
|
|
"@id": "urn:solid-server:default:ResourceLocker",
|
|
"@type": "WrappedExpiringReadWriteLocker",
|
|
"locker": {
|
|
"@type": "GreedyReadWriteLocker",
|
|
"locker": {
|
|
"@id": "urn:solid-server:default:RedisResourceLocker",
|
|
"@type": "RedisResourceLocker",
|
|
"redisClients": [ "6379" ]
|
|
},
|
|
"storage": { "@id": "urn:solid-server:default:LockStorage" },
|
|
"suffixes_count": "count",
|
|
"suffixes_read": "read",
|
|
"suffixes_write": "write"
|
|
},
|
|
"expiration": 3000
|
|
},
|
|
{
|
|
"comment": "Makes sure the redis connection is closed when the application needs to stop.",
|
|
"@id": "urn:solid-server:default:Finalizer",
|
|
"ParallelFinalizer:_finalizers": [ { "@id": "urn:solid-server:default:RedisResourceLocker" } ]
|
|
}
|
|
]
|
|
}
|