summaryrefslogtreecommitdiff
path: root/sources/master/interesting_relation_types.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sources/master/interesting_relation_types.sql')
-rw-r--r--sources/master/interesting_relation_types.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/master/interesting_relation_types.sql b/sources/master/interesting_relation_types.sql
index 18aab2d..e2e7954 100644
--- a/sources/master/interesting_relation_types.sql
+++ b/sources/master/interesting_relation_types.sql
@@ -17,8 +17,9 @@ CREATE TABLE interesting_relation_types (
rtype TEXT
);
+-- MIN_COUNT_RELATIONS_PER_TYPE setting: sources.master.min_count_relations_per_type
INSERT INTO interesting_relation_types (rtype)
- SELECT value FROM db.tags WHERE key='type' AND count_relations > 100;
+ SELECT value FROM db.tags WHERE key='type' AND count_relations > __MIN_COUNT_RELATIONS_PER_TYPE__;
ANALYZE interesting_relation_types;