Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xDSCWebService: add configuration option to control timeout/waiting values for IIS/Server operations #620

Closed
tmeckel opened this issue May 12, 2019 · 0 comments

Comments

@tmeckel
Copy link
Contributor

tmeckel commented May 12, 2019

Details of the scenario you tried and the problem that is occurring

While deploying/retracting a DSC Pullserver the xDSCWebService resource uses IIS and other server objects which might not react instantly when an operation is issued especially when the server is under heavy load or equipped with limited resources like memory or cpu.

Internal (automatic) error (failover) handling routines are limited, especially when it comes to how long routines should wait for a change requested by a OS/IIS method call.

To give the user/administrator the ability to control the behavior of xDSCWebService in such conditions there should exist a configuration option which specifies the waiting time for xDSCWebService to wait for operational changes to required objects before an error is reported.

Verbose logs showing the problem

N/A

Suggested solution to the issue

Add a configuration option, that specifies the maximum waiting time specified in milliseconds with a default value of 1000.

[int]WaitingTime = 1000

The DSC configuration that is used to reproduce the issue (as detailed as possible)

N/A

The operating system the target node is running

N/A

Version and build of PowerShell the target node is running

N/A

Version of the DSC module that was used ('dev' if using current dev branch)

master/dev

@tmeckel tmeckel closed this as completed May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant