HewlettPackard / HewlettPackard/HPEStoragePowerShellToolkit

API Connection and Session timeouts

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
11
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Feature Request.

For the storage modules that implement the API, adding the Connection and Operation timeouts would be really helpful to avoid hanging on an API call. If there is already a way to pass either of those parameters, then please let me know.

Here is the command snippet from Invoke-RestMethod

`
Invoke-RestMethod [-ConnectionTimeoutSeconds ] [-OperationTimeoutSeconds ]
`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the storage modules that implement the API and inspect how they invoke REST calls and pass parameters. Compare the existing parameter flow with Invoke-RestMethod's ConnectionTimeoutSeconds and OperationTimeoutSeconds options; done means the relevant modules support both timeout values and avoid hanging API calls.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.