From: Richard Kettlewell Date: Sat, 29 Nov 2008 15:38:35 +0000 (+0000) Subject: Reduce track choice neophilia a bit X-Git-Tag: 4.3~51 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/6151ae7e03c567cb5c2287386362f2fed68a225c Reduce track choice neophilia a bit --- diff --git a/CHANGES.html b/CHANGES.html index 3e2635d..495d898 100644 --- a/CHANGES.html +++ b/CHANGES.html @@ -75,6 +75,16 @@ span.command { +

Server

+ +
+ +

The selection bias for newly added tracks was reduced by half. You + can put it back to the old very neophilic value with + “new_bias 900000” in the config file.

+ +
+

General

diff --git a/doc/disorder_config.5.in b/doc/disorder_config.5.in index de043d6..58526c5 100644 --- a/doc/disorder_config.5.in +++ b/doc/disorder_config.5.in @@ -477,7 +477,7 @@ namepart ext "(\\.[a-zA-Z0-9]+)$" $1 * .TP .B new_bias \fIWEIGHT\fR The weight for new tracks. -The default is 900000, i.e. recently added tracks are a hundred times as likely +The default is 450000, i.e. recently added tracks are a fifty times as likely to be picked as normal. .TP .B new_bias_age \fISECONDS\fR diff --git a/lib/configuration.c b/lib/configuration.c index 4c18b62..e63716e 100644 --- a/lib/configuration.c +++ b/lib/configuration.c @@ -1195,7 +1195,7 @@ static struct config *config_default(void) { c->new_max = 100; c->reminder_interval = 600; /* 10m */ c->new_bias_age = 7 * 86400; /* 1 week */ - c->new_bias = 9000000; /* 100 times the base weight */ + c->new_bias = 4500000; /* 50 times the base weight */ /* Default stopwords */ if(config_set(&cs, (int)NDEFAULT_STOPWORDS, (char **)default_stopwords)) exit(1);