Class: Decidim::Seeds

Inherits:
Object
  • Object
show all
Defined in:
lib/decidim/seeds.rb

Overview

Base class to be inherited from the different modules’ seeds classes

Direct Known Subclasses

Core::Seeds

Constant Summary collapse

SEEDS_CONFIG =
{
  comments_count: { slow: 6, fast: 2 },
  comments_nested_probability: { slow: 0.5, fast: 0.2 },
  comments_vote_skip_probability: { slow: 0.5, fast: 0.7 },
  comments_votes_count: { slow: 12, fast: 3 },
  surveys_responses_count: { slow: 200, fast: 20 },
  surveys_response_options_count: { slow: 3, fast: 2 },
  surveys_matrix_rows_count: { slow: 3, fast: 2 },
  initiatives_votes_count: { slow: 50, fast: 10 },
  accountability_statuses_count: { slow: 5, fast: 3 },
  accountability_taxonomies_count: { slow: 2, fast: 1 }
}.freeze