-
Notifications
You must be signed in to change notification settings - Fork 33
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
Unnecessary validation of unmodified resources in same dataset #49
Comments
Testing indicates that the |
Ok, so What if Alternatively, |
…ally a resource update call, github #49
This is the reason that 4321b79 broke the TravisCI build; as soon as the plugin implemented IPackageController, it started incorrectly generating multiple validation jobs. |
[QOLDEV-323] gracefully handle blank 'last_modified' date in validation badge
Overview
When a resource is modified, all resources in the dataset are validated, even though most of them are unmodified. On datasets with many resources, this can result in a substantial performance problem, especially if the resources are large.
It appears that the
after_update
function assumes that the presence of "resources" in the data dictionary means that the whole package is being updated at once. However, this is not necessarily the case. If a resource is updated via eg theresource_update
API, then this code path will still trigger.Please preserve this line to notify @amercader (lead of this repository)
The text was updated successfully, but these errors were encountered: