generated from ubiquity/ts-template
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Handle 100+ nodes in graphql request #187
Comments
Is this still valid @gentlementlegen |
Yes it is still valid. |
Note The following contributors may be suitable for this task: gentlementlegen
|
/start |
Tip
|
Important
|
Merged
|
View | Contribution | Count | Reward |
---|---|---|---|
Issue | Task | 1 | 150 |
Issue | Specification | 1 | 28.35 |
Issue | Comment | 1 | 1.17 |
Conversation Incentives
Comment | Formatting | Relevance | Priority | Reward |
---|---|---|---|---|
## IssueIf more than 100 get requested, it will fail and throw… | 9.45content: content: h2: score: 1 elementCount: 2 p: score: 0 elementCount: 4 a: score: 5 elementCount: 1 result: 7 regex: wordCount: 43 wordValue: 0.1 result: 2.45 | 1 | 3 | 28.35 |
Yes it is still valid. | 0.39content: content: p: score: 0 elementCount: 1 result: 0 regex: wordCount: 5 wordValue: 0.1 result: 0.39 | 1 | 3 | 1.17 |
[ 1.17 WXDAI ]
@0x4007
Contributions Overview
View | Contribution | Count | Reward |
---|---|---|---|
Issue | Comment | 1 | 1.17 |
Conversation Incentives
Comment | Formatting | Relevance | Priority | Reward |
---|---|---|---|---|
Is this still valid @gentlementlegen | 0.39content: content: p: score: 0 elementCount: 1 result: 0 regex: wordCount: 5 wordValue: 0.1 result: 0.39 | 1 | 3 | 1.17 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
If more than 100 get requested, it will fail and throw an error:
https://github.com/ubiquity-os-marketplace/text-conversation-rewards/blob/dee258982532d0514f7e74ff7bfd7d29c72162c7/src/helpers/get-comment-details.ts
we should loop and batch by amount of 100 nodes max to avoid a crash.
Repro steps
Run the plugin on an issue having more than a hundred comments.
The text was updated successfully, but these errors were encountered: