don't trigger traces for slow uploads
This commit is contained in:
parent
ebea517c41
commit
81cd320928
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ try {
|
||||||
|
|
||||||
$_tracer->end();
|
$_tracer->end();
|
||||||
if (TRACE_FILE) {
|
if (TRACE_FILE) {
|
||||||
if ((microtime(true) - $_shm_load_start) > TRACE_THRESHOLD) {
|
if ((microtime(true) - $_shm_load_start) > TRACE_THRESHOLD && $_SERVER["REQUEST_URI"] != "/upload") {
|
||||||
$_tracer->flush(TRACE_FILE);
|
$_tracer->flush(TRACE_FILE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue