Page MenuHomePhabricator

Remove PhabricatorStartup::getGlobal/setGlobal mechanism
ClosedPublic

Authored by epriestley on Jun 4 2015, 6:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 29, 3:38 PM
Unknown Object (File)
Fri, Nov 29, 3:38 PM
Unknown Object (File)
Fri, Nov 29, 3:38 PM
Unknown Object (File)
Fri, Nov 29, 3:34 PM
Unknown Object (File)
Wed, Nov 27, 2:52 AM
Unknown Object (File)
Sat, Nov 23, 2:33 AM
Unknown Object (File)
Fri, Nov 22, 4:03 AM
Unknown Object (File)
Tue, Nov 19, 7:48 AM
Subscribers

Details

Summary

Ref T8424. Fixes T7114. This was envisioned as a per-request cache for reusing interpreters, but isn't a good fit for that in modern Phabricator.

In particular, it isn't loaded by the daemons, but they have equal need for per-request caching.

Since I finally need such a cache for Spaces, throw the old stuff away before I built a more modern cache.

Also resolves T7114 by dropping filtering on $_SERVER. I'm pretty sure this is the simplest fix, see D12977 for a bit more discussion.

Test Plan

Called didFatal() from somewhere in normal code and verified it was able to use the access log.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Remove PhabricatorStartup::getGlobal/setGlobal mechanism.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Jun 4 2015, 9:15 PM
This revision was automatically updated to reflect the committed changes.