-
Notifications
You must be signed in to change notification settings - Fork 6
Allow sending set of provider-specific CSV files #420 #430
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
base: main
Are you sure you want to change the base?
Conversation
app/jobs/file_upload_job.rb
Outdated
| # Consider removing concurrency limits due to SolidQueue blocking issues | ||
| # or use a more specific key to avoid blocking all jobs for a language | ||
| limits_concurrency to: 3, key: ->(_language_id, content_id, _content_type) { "hard-limit" } | ||
| limits_concurrency to: 3, key: ->(_language_id, _content_id, _content_type) { "hard-limit" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't we keep the param names in parallel with the perform params? _language_id, _file_id, _provider_id?
To be clear, I don't fully grasp how the concurrency keys work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This param is unused. However, number of parameters here should match the number of parameters when we call the job. I am trying to replace this with just *args
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pushing this branch to staging so Manoj can review the files.
a11f8e8 to
47a6a0b
Compare
|
Manoj said the file formats are working but he has some changes to the naming convention. He's going to get that to me later this week. |
Still waiting for that from Manoj. |
|
The answer was that they want to require the providers to have a file name prefix and use that as the prefix for these files. I have some concerns I'd like to discuss. |

What Issue Does This PR Cover, If Any?
Resolves #420 The best issue number!
What Changed? And Why Did It Change?
FileUploadJobto receive language or providerHow Has This Been Tested?
Please Provide Screenshots
Additional Comments