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

Http Piece Retrival Test #8

Merged
merged 1 commit into from
Oct 30, 2023
Merged

Http Piece Retrival Test #8

merged 1 commit into from
Oct 30, 2023

Conversation

stephen-pl
Copy link
Contributor

@stephen-pl stephen-pl commented Oct 23, 2023

#37 in RetrievalBot tasks

@stephen-pl stephen-pl self-assigned this Oct 23, 2023
@stephen-pl stephen-pl requested a review from jcace October 23, 2023 18:38
@@ -164,7 +191,7 @@ func addErrorResults(
Task: task.Task{
Requester: requester,
Module: "spadev0",
Metadata: spadev0Metadata,
Metadata: make(map[string]string),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Wasnt sure which metadata to use for the error unless we want to pass it around

Copy link
Contributor

Choose a reason for hiding this comment

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

hmm, have a look at theaddErrorResults func in integration/filplus/util.go to see how it's done there. I originally copied from here but simplified as we only had one type - might be better to copy what they have.

StatemarketdealsBatchSize Key = "STATEMARKETDEALS_BATCH_SIZE"
StatemarketdealsInterval Key = "STATEMARKETDEALS_INTERVAL"
PublicIP Key = "_PUBLIC_IP"
AcceptedContinents Key = "ACCEPTED_CONTINENTS"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorted this and got rid of the fil+ and statemarket deals

Copy link
Contributor

@jcace jcace left a comment

Choose a reason for hiding this comment

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

LGTM!

@stephen-pl stephen-pl merged commit 6a97be3 into main Oct 30, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants