This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
ApacheFetch waits for asynchronous processing inside PSOL. Currently …
…that wait has no timeout, but as described in #1048 PSOL sometimes fails to return. In Nginx and other event-loop based servers this causes a problem for that single request but doesn't take down the server, but in Apache we currently tie up a thread indefinitely waiting for the fetch to finish. This change makes Apache act more like the other servers: after a 2min timeout it gives up waiting on PSOL and frees up the thread. This doesn't solve the underlying PSOL issue(s), but it makes it much less damaging to Apache servers.
- Loading branch information
1 parent
9a37778
commit e59644f
Showing
5 changed files
with
227 additions
and
74 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
Oops, something went wrong.