Closed Bug 1350467 Opened 3 years ago Closed 3 years ago

Add method Bugzilla->preload_features() to be called in mod_perl.pl startup

Categories

(bugzilla.mozilla.org :: General, enhancement)

Production
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dylan, Assigned: dylan)

Details

Attachments

(1 file)

44 bytes, text/x-github-pull-request
Atoll
: review+
Details | Review
Rather than lazy-loading modules, it's better to try loading them all at once during apache startup.
Attached file pull req
Please ignore this until during the week, it is not very important.

There's two commits in this PR, the first one is a bug that I asked glob to review as it's moving a lot of code around. This should just be pre-emptively calling Bugzilla->feature() for every feature we support, which has the effect of loading them.
Attachment #8851306 - Flags: review?(rsoderberg)
Comment on attachment 8851306 [details] [review]
pull req

No objections, seems sound enough
Attachment #8851306 - Flags: review?(rsoderberg) → review+
To git@github.com:mozilla-bteam/bmo.git
   08c0187b5..15daaf123  master -> master
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
To git@github.com:mozilla-bteam/bmo.git
   9af56b965..b2744a52d  master -> master

We were loading recommended as well required modules on SCL3's perl.
You need to log in before you can comment on or make changes to this bug.