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

RESOLVED FIXED

Status

()

RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: dylan, Assigned: dylan)

Tracking

Production

Details

Attachments

(1 attachment)

Rather than lazy-loading modules, it's better to try loading them all at once during apache startup.
(Assignee)

Comment 1

2 years ago
Created attachment 8851306 [details] [review]
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 2

2 years ago
Comment on attachment 8851306 [details] [review]
pull req

No objections, seems sound enough
Attachment #8851306 - Flags: review?(rsoderberg) → review+
(Assignee)

Comment 3

2 years ago
To git@github.com:mozilla-bteam/bmo.git
   08c0187b5..15daaf123  master -> master
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
(Assignee)

Comment 4

2 years ago
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.