Skip to content
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

Volunteer export timing out #171

Closed
anandology opened this issue Feb 8, 2016 · 7 comments
Closed

Volunteer export timing out #171

anandology opened this issue Feb 8, 2016 · 7 comments

Comments

@anandology
Copy link
Contributor

Volunteer export is timing out when there are many volunteers.

@raghavio
Copy link
Collaborator

raghavio commented Feb 8, 2016

UnicodeDecodeError: 'utf8' codec can't decode byte 0xd0 in position 0: invalid continuation byte

I'm getting this

@anandbot
Copy link

anandbot commented Feb 8, 2016

on test.missionvistaar.in ?

On Mon, Feb 8, 2016 at 2:28 PM, Raghav Sharma notifications@github.com
wrote:

UnicodeDecodeError: 'utf8' codec can't decode byte 0xd0 in position 0: invalid continuation byte

I'm getting this


Reply to this email directly or view it on GitHub
#171 (comment)
.

@raghavio
Copy link
Collaborator

raghavio commented Feb 8, 2016

No. On localhost.

@anandbot
Copy link

anandbot commented Feb 8, 2016

Please create an issue with the traceback. I don't think it is related to
this issue.

On Mon, Feb 8, 2016 at 2:48 PM, Raghav Sharma notifications@github.com
wrote:

No. On localhost.


Reply to this email directly or view it on GitHub
#171 (comment)
.

@raghavio
Copy link
Collaborator

raghavio commented Feb 8, 2016

It's working fine for me. How many you downloading?
I downloaded a file with 1000 entries.

@anandology
Copy link
Contributor Author

I'm working on this. The query is very inefficient. It makes O(N) queries.

It is failing for 1000+ entries on a production instance.

anandology added a commit that referenced this issue Feb 8, 2016
The volunteer export was taking O(N) queries. It was caused by loading the
names of parent places. Fixed it by bulk loading the parent names.
@anandology
Copy link
Contributor Author

Fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants