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 committed Jun 4, 2024
1 parent 24079c7 commit 50bf553
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 50bf553

Please sign in to comment.