Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Review abnormal termination code path.
In case of an exceptional condition leading to termination of the pgloader program we tried to use log-message after the monitor should have been closed. Also the 0.3s delay to let latests messages out looks like a poor design. This patch attempts to remedy both the situation: refrain from using a closed down monitoring thread, and properly wait until it's done before returning to the shell. See #583.
- Loading branch information
Showing
3 changed files
with
17 additions
and
5 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
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
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