Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Limit to 20 batches of 100 records per count task.#751

Open
nworden wants to merge 1 commit intomasterfrom
nworden-taskfix
Open

Limit to 20 batches of 100 records per count task.#751
nworden wants to merge 1 commit intomasterfrom
nworden-taskfix

Conversation

@nworden
Copy link
Copy Markdown
Contributor

@nworden nworden commented Jun 15, 2020

No description provided.

Copy link
Copy Markdown

@christopherestif christopherestif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^^

Comment thread app/tasks.py
# And put the updates at once.
counter.put()
batches_done += 1
self.add_task_for_repo(self.repo, self.SCAN_NAME, self.ACTION)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't quite understand this change -- I get the limit on the batching, but why do you now call add_task_for_repo where you didn't before?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants