summaryrefslogtreecommitdiff
path: root/js/longtable
diff options
context:
space:
mode:
authorMichael Walker <mike@barrucadu.co.uk>2016-08-20 00:54:56 +0100
committerMichael Walker <mike@barrucadu.co.uk>2016-08-20 00:54:56 +0100
commitafc2d2e4e1605c56294296894657d2c8c8a6b45c (patch)
tree31d585b42a3ea6343f9a759a550f8b32673c1015 /js/longtable
parent42988fe8efd89071608e2239ad1868dfe12362a2 (diff)
Implement priority banners.
If the directory "banners_priority" exists and contains files, a file from it is served 33% of the time, an a file from "banners" 66% of the time. This may seem like an odd definition of "priority", but assuming far fewer priority banners than normal banners, this gives them extra weight in the selection. Before, any 1 banner in 100 had a 1% chance of being served; now if that banner is a priority banner it has a 33% chance.
Diffstat (limited to 'js/longtable')
0 files changed, 0 insertions, 0 deletions