Can you change a queue member penalty from FOP2

FAQ


Yes! You can change penalties.

However, the feature is not enabled by default as you should define your own penalties and names in any way you want.

Enabling Penalty Changes

In order to enable the feature, you will have to edit a configuration file on the server:

  1. Log into your server command line
  2. Edit the file /var/www/html/fop2/js/presence.js

Configuration

In that file there is a commented section for penalty:

/* Uncomment the following to enable queue penalty set 
//
var queuePenalties = new Object();
queuePenalties['Low']     = 2;
queuePenalties['Medium']  = 1;
queuePenalties['High']    = 0;
*/

Just remove the comments and then change the names and values to whatever you like:

var queuePenalties = new Object();
queuePenalties['Low']     = 2;
queuePenalties['Medium']  = 1;
queuePenalties['High']    = 0;