-
Notifications
You must be signed in to change notification settings - Fork 15
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
update ckanext-datajson for max_resource_count #1465
Conversation
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 will work, one suggested improvement...
The main reason is the less we do in the .profile
, the faster startup should be.
# Max number of resources to be allowed in a dataset to be harvested | ||
export CKANEXT__DATAJSON__MAX_RESOURCE_COUNT=1500 | ||
|
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.
Any reason we can't add this to the ckan.ini file? I think this would be the safer place; that way it will be setup by default. I don't see a reason to have a different number between local dev and cloud.gov deployment...
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.
Tried that before, moved newly created config into ckan.ini but it had no effect.
Just tried again with 50e4055, same result. No effect when set in ckan.ini.
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.
oops, looks like there is a typo in the last try. trying again.
Bring changes from
Set optional config
ckanext.datajson.max_resource_count
to be 1500.