trace all CLI commands
This commit is contained in:
parent
e971d10d41
commit
188d809ee7
@ -153,8 +153,11 @@ try {
|
|||||||
$_tracer->end();
|
$_tracer->end();
|
||||||
if (TRACE_FILE) {
|
if (TRACE_FILE) {
|
||||||
if (
|
if (
|
||||||
(microtime(true) - $_shm_load_start) > TRACE_THRESHOLD
|
empty($_SERVER["REQUEST_URI"])
|
||||||
&& ($_SERVER["REQUEST_URI"] ?? "") != "/upload"
|
|| (
|
||||||
|
(microtime(true) - $_shm_load_start) > TRACE_THRESHOLD
|
||||||
|
&& ($_SERVER["REQUEST_URI"] ?? "") != "/upload"
|
||||||
|
)
|
||||||
) {
|
) {
|
||||||
$_tracer->flush(TRACE_FILE);
|
$_tracer->flush(TRACE_FILE);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user