Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
populate_db: Spell “stickiness” correctly.
Anders Kaseorgf27a709a5e87
diff --git a/zilencer/management/commands/populate_db.py b/zilencer/management/commands/populate_db.pyindex 9aecd4fa1c1..7566fa71c35 100644--- a/zilencer/management/commands/populate_db.py+++ b/zilencer/management/commands/populate_db.py@@ -259,7 +259,7 @@ class Command(BaseCommand):)parser.add_argument(- "--stickyness",+ "--stickiness",type=float,default=20,help="The percent of messages to repeat recent folks.",@@ -1071,7 +1071,7 @@ def generate_and_send_messages(randkey = random.randint(1, random_max)if (num_messages > 0- and random.randint(1, random_max) * 100.0 / random_max < options["stickyness"]+ and random.randint(1, random_max) * 100.0 / random_max < options["stickiness"]):# Use an old recipientmessage_type, recipient_id, saved_data = recipients[num_messages - 1]