forked from cyrusimap/cyrus-imapd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master.c: Process babysat daemons before regular daemons
The logic for "wait 10 seconds then retry" for daemons that are failing frequently doesn't seem like it ever worked. The reason is that we'd respawn children for *any* services missing children before checking babysat services. Reverse the order of checks to see if a service is babysat and needs a child before spawning off children. This does mean that after 10+ seconds, we'll only spawn one child at first. Later we'll come along and spawn more.
- Loading branch information
Showing
1 changed file
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters