You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 8, 2024. It is now read-only.
In one of our projects I updated the contentful_middleman gem to use the latest version, coming from the "dl/upgrade-to-v4" branch.
After this update, running the middleman contentful command with anything higher than "max_include_resolution_depth: 1"
in the config causes processing to hang after a few seconds.
I've tried playing with the all_entries_page_size, but that doesn't seem to help.
The text was updated successfully, but these errors were encountered:
This may be related to how your content model is done, it looks like you have multiple circular relationships.
Something that may make it go much faster is by enabling reuse_entries: true in the client options. This should make the SDK not re-create already hydrated entries.
Thing is, I had issues with circular relationships before, but limiting the max depth to 2 and setting reuse_entries to true fixed it at the time and haven't had any problems since.
do you think any specific change in the latest releases has increased the vulnerability towards probs with circular relationships? This can't just be a performance problem, right?
This hasn't been changed in almost a year, so I don't really know what may be going on, have you considered setting the gem to use the latest release instead of the one in the branch?
Using 'contentful_middleman', '~> 4.0' should do the trick.
Cheers
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In one of our projects I updated the contentful_middleman gem to use the latest version, coming from the "dl/upgrade-to-v4" branch.
After this update, running the middleman contentful command with anything higher than "max_include_resolution_depth: 1"
in the config causes processing to hang after a few seconds.
I've tried playing with the all_entries_page_size, but that doesn't seem to help.
The text was updated successfully, but these errors were encountered: