Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4907]apps/votes: helptext and package size set to 1 mio, instead of … #4916

Merged
merged 1 commit into from
Feb 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions meinberlin/apps/votes/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
from meinberlin.apps.votes.models import get_token_12

# Number of tokens to insert into database per bulk_create
BATCH_SIZE = 1000000
BATCH_SIZE = 100000
# Max number of tokens in one download / package
PACKAGE_SIZE = 10000000
PACKAGE_SIZE = 1000000


def generate_voting_tokens(module_id, number_of_tokens, existing_tokens):
Expand Down