Skip to content

Commit

Permalink
reduce default resource timeout to 30s
Browse files Browse the repository at this point in the history
This is noticably shorter then the default provisioning timeout of 1m, so
if we for example wait for some resource that get ready, we should be able to
see the results within a single provisioning run.
  • Loading branch information
WanzenBug authored and rck committed Jun 5, 2024
1 parent 5c54303 commit 26af8d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/linstor-csi/linstor-csi.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func main() {
propNs = flag.String("property-namespace", linstor.NamespcAuxiliary, "Limit the reported topology keys to properties from the given namespace.")
labelBySP = flag.Bool("label-by-storage-pool", true, "Set to false to disable labeling of nodes based on their configured storage pools.")
nodeCacheTimeout = flag.Duration("node-cache-timeout", 1*time.Minute, "Duration for which the results of node and storage pool related API responses should be cached.")
resourceCacheTimeout = flag.Duration("resource-cache-timeout", 1*time.Minute, "Duration for which the results of resource related API responses should be cached.")
resourceCacheTimeout = flag.Duration("resource-cache-timeout", 30*time.Second, "Duration for which the results of resource related API responses should be cached.")
)

flag.Var(&volume.DefaultRemoteAccessPolicy, "default-remote-access-policy", "")
Expand Down

0 comments on commit 26af8d9

Please sign in to comment.