Skip to content

Commit

Permalink
Make the score threshold configuration option spindle:score to match …
Browse files Browse the repository at this point in the history
…the query parameter (#15)
  • Loading branch information
nevali committed Aug 11, 2017
1 parent 2bbf382 commit 9a0576a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quilt/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ quilt_plugin_init(void)
spindle_bucket = NULL;
spindle_db = NULL;
spindle_cachepath = NULL;
spindle_threshold = quilt_config_get_int(QUILT_PLUGIN_NAME ":threshold", SPINDLE_THRESHOLD);
spindle_threshold = quilt_config_get_int(QUILT_PLUGIN_NAME ":score", SPINDLE_THRESHOLD);
quilt_logf(LOG_INFO, QUILT_PLUGIN_NAME ": default score threshold set to %d\n", spindle_threshold);
if((t = quilt_config_geta(QUILT_PLUGIN_NAME ":db", NULL)))
{
spindle_db = sql_connect(t);
Expand Down

0 comments on commit 9a0576a

Please sign in to comment.