Skip to content

Commit

Permalink
chore: Integrate WrappedExpiringResourceLocker
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimvh committed Nov 16, 2020
1 parent acebf03 commit b493664
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/presets/storage-wrapper.json
Expand Up @@ -3,7 +3,11 @@
"@graph": [
{
"@id": "urn:solid-server:default:ResourceLocker",
"@type": "SingleThreadedResourceLocker"
"@type": "WrappedExpiringResourceLocker",
"WrappedExpiringResourceLocker:_locker": {
"@type": "SingleThreadedResourceLocker"
},
"WrappedExpiringResourceLocker:_expiration": 3000
},

{
Expand Down
1 change: 1 addition & 0 deletions index.ts
Expand Up @@ -129,6 +129,7 @@ export * from './src/storage/ResourceStore';
export * from './src/storage/RoutingResourceStore';
export * from './src/storage/SingleThreadedResourceLocker';
export * from './src/storage/UrlContainerManager';
export * from './src/storage/WrappedExpiringResourceLocker';

// Util/Errors
export * from './src/util/errors/ConflictHttpError';
Expand Down

0 comments on commit b493664

Please sign in to comment.