Skip to content

Commit

Permalink
commit 69c6013
Browse files Browse the repository at this point in the history
Merge: 92d3f77 27a1ab7
Author: kobergj <[email protected]>
Date:   Thu Nov 3 15:11:18 2022 +0100

    Merge pull request #4965 from kobergj/MaxAcuireLockCycles

    Max AcquireLock Cycles and Bump Reva
  • Loading branch information
kobergj committed Nov 3, 2022
1 parent 53f591a commit f97aa5d
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion grpc_apis/ocis/messages/search/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.messages.search.v0"
url: /grpc_apis/ocis_messages_search_v0
date: 2022-11-03T13:26:08Z
date: 2022-11-03T14:12:45Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/messages/settings/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.messages.settings.v0"
url: /grpc_apis/ocis_messages_settings_v0
date: 2022-11-03T13:26:08Z
date: 2022-11-03T14:12:45Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/messages/store/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.messages.store.v0"
url: /grpc_apis/ocis_messages_store_v0
date: 2022-11-03T13:26:08Z
date: 2022-11-03T14:12:46Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/messages/thumbnails/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.messages.thumbnails.v0"
url: /grpc_apis/ocis_messages_thumbnails_v0
date: 2022-11-03T13:26:08Z
date: 2022-11-03T14:12:46Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/services/search/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.services.search.v0"
url: /grpc_apis/ocis_services_search_v0
date: 2022-11-03T13:26:08Z
date: 2022-11-03T14:12:46Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/services/settings/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.services.settings.v0"
url: /grpc_apis/ocis_services_settings_v0
date: 2022-11-03T13:26:08Z
date: 2022-11-03T14:12:46Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/services/store/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.services.store.v0"
url: /grpc_apis/ocis_services_store_v0
date: 2022-11-03T13:26:08Z
date: 2022-11-03T14:12:46Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/services/thumbnails/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.services.thumbnails.v0"
url: /grpc_apis/ocis_services_thumbnails_v0
date: 2022-11-03T13:26:08Z
date: 2022-11-03T14:12:45Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
7 changes: 7 additions & 0 deletions services/_includes/adoc/storage-users_configvars.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,13 @@ a| [subs=-attributes]
++/Shares ++
a| [subs=-attributes]
Name of the folder jailing all shares.
|`STORAGE_USERS_OCIS_MAX_ACQUIRE_LOCK_CYCLES`
a| [subs=-attributes]
++int ++
a| [subs=-attributes]
++25 ++
a| [subs=-attributes]
When trying to lock files, ocis will try this amount of times to acquire the lock before failing. After each try it will wait for an increasing amount of time. Values of 0 or below will be ignored and the default value of 25 will be used
|`STORAGE_USERS_S3NG_ROOT`
a| [subs=-attributes]
++string ++
Expand Down
1 change: 1 addition & 0 deletions services/_includes/storage-users-config-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ drivers:
personalspacealias_template: '{{.SpaceType}}/{{.User.Username | lower}}'
generalspacealias_template: '{{.SpaceType}}/{{.SpaceName | replace " " "-" | lower}}'
share_folder: /Shares
max_acquire_lock_cycles: 25
s3ng:
root: ~/.ocis/storage/users
user_layout: '{{.Id.OpaqueId}}'
Expand Down
1 change: 1 addition & 0 deletions services/_includes/storage-users_configvars.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
| STORAGE_USERS_OCIS_PERSONAL_SPACE_ALIAS_TEMPLATE | string | {{.SpaceType}}/{{.User.Username \| lower}} | Template string to construct personal space aliases.|
| STORAGE_USERS_OCIS_GENERAL_SPACE_ALIAS_TEMPLATE | string | {{.SpaceType}}/{{.SpaceName \| replace &#34; &#34; &#34;-&#34; \| lower}} | Template string to construct general space aliases.|
| STORAGE_USERS_OCIS_SHARE_FOLDER | string | /Shares | Name of the folder jailing all shares.|
| STORAGE_USERS_OCIS_MAX_ACQUIRE_LOCK_CYCLES | int | 25 | When trying to lock files, ocis will try this amount of times to acquire the lock before failing. After each try it will wait for an increasing amount of time. Values of 0 or below will be ignored and the default value of 25 will be used|
| STORAGE_USERS_S3NG_ROOT | string | ~/.ocis/storage/users | The directory where the filesystem storage will store user files. If not definied, the root directory derives from $OCIS_BASE_DATA_PATH:/storage/users.|
| STORAGE_USERS_S3NG_USER_LAYOUT | string | {{.Id.OpaqueId}} | Template string for the user storage layout in the user directory.|
| STORAGE_USERS_PERMISSION_ENDPOINT<br/>STORAGE_USERS_S3NG_PERMISSIONS_ENDPOINT | string | 127.0.0.1:9191 | Endpoint of the permissions service.|
Expand Down

0 comments on commit f97aa5d

Please sign in to comment.