Opened on 09/15/2014 at 09:36:41 AM

Closed on 09/18/2014 at 09:26:14 PM

#1374 closed change (fixed)

Don't hardcode web handlers for multiplexer

Reported by: trev Assignee: trev
Priority: P3 Milestone:
Module: Infrastructure Keywords:
Cc: Blocked By:
Blocking: Platform: Unknown
Ready: yes Confidential: no
Tester: Verified working: no
Review URL(s):

http://codereview.adblockplus.org/5744805892063232/
http://codereview.adblockplus.org/6394253802471424/

Description

Background

We use multiplexer.fcgi to merge various web handlers in a single FCGI process. Currently, this process will always load all available handlers. This approach has the drawbacks that all handlers need to be loaded explicitly in the sitescripts.web module. It also means that using multiplexer.fcgi always requires installing all the dependencies required by the web handlers - e.g. quite a few servers have to install MySQLdb even though they don't really use it (only required for the reports handler).

What to change

Add a [multiplexer] section to sitescripts.ini with an option for each web handler that should be enabled.

Attachments (0)

Change History (2)

comment:1 Changed on 09/15/2014 at 10:06:20 AM by trev

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:2 Changed on 09/18/2014 at 09:26:14 PM by trev

  • Resolution set to fixed
  • Status changed from reviewing to closed

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from trev.
 
Note: See TracTickets for help on using tickets.