mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

copilot-swe-agent[bot]
15 hours ago 7121eeb999c8735113b20fc7ac39b22759bdade3
refs
author copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Thursday, April 2, 2026 19:06 +0200
committer GitHub <noreply@github.com>
Thursday, April 2, 2026 19:06 +0200
commit7121eeb999c8735113b20fc7ac39b22759bdade3
tree ff2d8f640ed2cda4238028bb06ffd1db483f1806 tree | zip | gz
parent 86aef62377ba9a163fa7a987163c4a70e6f65822 view | diff
Fix Windows service premature exit and stop timeout in service.c

- Add retry logic (3 retries × 2s) in serviceMain before declaring server
stopped to avoid false negatives from transient lock file check failures
- Increase doStopApplication nTries from 10 to 30 for heavier loaded servers

Agent-Logs-Url: https://github.com/OpenIdentityPlatform/OpenDJ/sessions/b618397b-6f5a-4c9b-8bec-3bb14df3e3e3

Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
1 files modified
70 ■■■■■ changed files
opendj-server-legacy/src/build-tools/windows/service.c 70 ●●●●● diff | view | raw | blame | history