Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15426469
D21524.id51231.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
742 B
Referenced Files
None
Subscribers
None
D21524.id51231.diff
View Options
diff --git a/src/applications/diffusion/controller/DiffusionServeController.php b/src/applications/diffusion/controller/DiffusionServeController.php
--- a/src/applications/diffusion/controller/DiffusionServeController.php
+++ b/src/applications/diffusion/controller/DiffusionServeController.php
@@ -214,6 +214,11 @@
$viewer = new PhabricatorUser();
}
+ // See T13590. Some pathways, like error handling, may require unusual
+ // access to things like timezone information. These are fine to build
+ // inline; this pathway is not lightweight anyway.
+ $viewer->setAllowInlineCacheGeneration(true);
+
$this->setServiceViewer($viewer);
$allow_public = PhabricatorEnv::getEnvConfig('policy.allow-public');
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 24, 8:56 AM (1 d, 13 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7719978
Default Alt Text
D21524.id51231.diff (742 B)
Attached To
Mode
D21524: After loading the effective Viewer during a VCS request, flag them for inline cache generation
Attached
Detach File
Event Timeline
Log In to Comment