Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
JinmuGo committed Dec 1, 2023
2 parents 90dbad5 + c6f52d2 commit 1072854
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ bool CgiResponseBuilder::build() {
BAD_GATEWAY, this->_sharedData, this->_request, this->_serverConfig, this->_locationConfig));
}
} else {
if (std::difftime(std::time(NULL), this->_cgiTime) >= 10) {
if (std::difftime(std::time(NULL), this->_cgiTime) >= 180) {
kill(this->_cgiPid, SIGTERM);
this->removeIOHandlers();
close(this->_pipes[PIPE_PREAD]);
Expand Down

0 comments on commit 1072854

Please sign in to comment.