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

ignore image files on logging #4

Closed
GoogleCodeExporter opened this issue Aug 19, 2015 · 3 comments
Closed

ignore image files on logging #4

GoogleCodeExporter opened this issue Aug 19, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. [GTMHTTPFetcher setLoggingEnabled:YES];
2. many request on load image from google photo

What is the expected output? What do you see instead?

NSPOSIXErrorDomain Code=24 "The operation couldn't be completed. Too many open 
files"

What version of the product are you using? On what operating system?

v99, iOS 5.0

Please provide any additional information below.

I need to load photos on google photo. When the flag of logging is enable, 
logger will save image data and other to iOS device.

But iOS device can't open too many files in a short time, That I got error.

I need a way to setup a ignore list for GTMHTTPFetcherLogging, which data need 
to ignore or log.

Original issue reported on code.google.com by superbil on 5 Mar 2012 at 10:06

@GoogleCodeExporter
Copy link
Author

The logging code doesn't keep open photo files.

If you're trying to simultaneously download many photos, that could be a 
problem for iOS. Try creating an instance of GTMHTTPFetcherService, and using 
that service object to create the fetchers to download photos. The service will 
limit the rate of photo requests.

Original comment by grobb...@google.com on 10 Mar 2012 at 2:44

@GoogleCodeExporter
Copy link
Author

I got it, thank you

Original comment by superbil on 27 Jul 2012 at 4:42

@GoogleCodeExporter
Copy link
Author

Original comment by grobb...@google.com on 28 Jul 2012 at 1:08

  • Changed state: WontFix

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

No branches or pull requests

1 participant