mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
add function comment
svn:r4043
This commit is contained in:
parent
ab8a0bb52c
commit
6bdfd97272
@ -358,6 +358,10 @@ static void process_pending_task(connection_t *cpuworker) {
|
|||||||
|
|
||||||
#define CPUWORKER_BUSY_TIMEOUT 100 /* seconds */
|
#define CPUWORKER_BUSY_TIMEOUT 100 /* seconds */
|
||||||
|
|
||||||
|
/** We have a bug that I can't find. Sometimes, very rarely, cpuworkers
|
||||||
|
* get stuck in the 'busy' state, even though the cpuworker process
|
||||||
|
* thinks of itself as idle. I don't know why. But here's a workaround
|
||||||
|
* to kill any cpuworker that's been busy for more than 100 seconds. */
|
||||||
static void
|
static void
|
||||||
cull_wedged_cpuworkers(void) {
|
cull_wedged_cpuworkers(void) {
|
||||||
connection_t **carray;
|
connection_t **carray;
|
||||||
|
Loading…
Reference in New Issue
Block a user