Plone: 504 Gateway timeout - multiple objects creation -
i have browser view. in __call__ have self.do_some_operations() return self.render() render means return viewpagetemplatefile("templates/my_template.pt").
in do_some_operations() have example case lot of objects created. imagine hundreds of my_content_type (archetypes) objects created @ once.
sure, these operations take time before page rendered (containing status info created objects). best way rid of 504 gateway timeout? (in case seems appear when create more 100 my_content_type objects @ time.)
the big picture: view template contains form uploading txt file details objects want work with. instead of creating manually objects use create @ once. maybe entire implementation can have better solution.
Comments
Post a Comment