chore: Integrate WrappedExpiringResourceLocker

This commit is contained in:
Joachim Van Herwegen 2020-11-16 10:20:19 +01:00
parent acebf030c7
commit b49366498b
2 changed files with 6 additions and 1 deletions

View File

@ -3,8 +3,12 @@
"@graph": [ "@graph": [
{ {
"@id": "urn:solid-server:default:ResourceLocker", "@id": "urn:solid-server:default:ResourceLocker",
"@type": "WrappedExpiringResourceLocker",
"WrappedExpiringResourceLocker:_locker": {
"@type": "SingleThreadedResourceLocker" "@type": "SingleThreadedResourceLocker"
}, },
"WrappedExpiringResourceLocker:_expiration": 3000
},
{ {
"@id": "urn:solid-server:default:ResourceStore_Patching", "@id": "urn:solid-server:default:ResourceStore_Patching",

View File

@ -129,6 +129,7 @@ export * from './src/storage/ResourceStore';
export * from './src/storage/RoutingResourceStore'; export * from './src/storage/RoutingResourceStore';
export * from './src/storage/SingleThreadedResourceLocker'; export * from './src/storage/SingleThreadedResourceLocker';
export * from './src/storage/UrlContainerManager'; export * from './src/storage/UrlContainerManager';
export * from './src/storage/WrappedExpiringResourceLocker';
// Util/Errors // Util/Errors
export * from './src/util/errors/ConflictHttpError'; export * from './src/util/errors/ConflictHttpError';