diff options
Diffstat (limited to 'httpd.c')
| -rw-r--r-- | httpd.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -457,6 +457,9 @@ void job_post(const xs_val *job, int urgent) | |||
| 457 | 457 | ||
| 458 | p_state->job_fifo_size++; | 458 | p_state->job_fifo_size++; |
| 459 | 459 | ||
| 460 | if (p_state->job_fifo_size > p_state->top_job_fifo_size) | ||
| 461 | p_state->top_job_fifo_size = p_state->job_fifo_size; | ||
| 462 | |||
| 460 | /* unlock the mutex */ | 463 | /* unlock the mutex */ |
| 461 | pthread_mutex_unlock(&job_mutex); | 464 | pthread_mutex_unlock(&job_mutex); |
| 462 | 465 | ||