HeaderCallback: pre-cache request ID
Follows up on Ia3711459d22309. Bug: T261260 Change-Id: I245747d0b6fcdf0f64d7aabe9972062472dc36da
This commit is contained in:
parent
8cafbac2b8
commit
ef26a5b07b
1 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,8 @@ class HeaderCallback {
|
|||
// it will have to be loaded at some point anyway.
|
||||
// This can be removed once we require PHP 8.0+.
|
||||
class_exists( \WebRequest::class );
|
||||
// Likewise, cache the request ID.
|
||||
\WebRequest::getRequestId();
|
||||
|
||||
header_register_callback( [ __CLASS__, 'callback' ] );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue