Skip to content

Commit

Permalink
Merge pull request #1372 from Yvand/yvand/spfarm-suppress-sleep
Browse files Browse the repository at this point in the history
SPFarm: Suppress a useless 5 minutes sleep triggered once a server joined the farm
  • Loading branch information
ykuijs authored Jan 11, 2022
2 parents db71484 + 0284ce4 commit 9967096
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- SPFarm
- Suppress a useless reboot that was triggered once a server joined the farm
- Suppress a useless 5 minutes sleep triggered once a server joined the farm

## [5.0.0] - 2021-12-17

Expand Down
4 changes: 0 additions & 4 deletions SharePointDsc/DSCResources/MSFT_SPFarm/MSFT_SPFarm.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1235,10 +1235,6 @@ function Set-TargetResource
{
Write-Verbose -Message "Starting timer service"
Start-Service -Name sptimerv4

Write-Verbose -Message ("Pausing for 5 minutes to allow the timer service to " +
"fully provision the server")
Start-Sleep -Seconds 300
Write-Verbose -Message ("Join farm complete")
}
}
Expand Down

0 comments on commit 9967096

Please sign in to comment.