Skip to content

Fixed #1108 - Too many open files error on push replication#1183

Merged
pasin merged 1 commit intomasterfrom
feature/issue_1108_push_many_attachments
Apr 5, 2016
Merged

Fixed #1108 - Too many open files error on push replication#1183
pasin merged 1 commit intomasterfrom
feature/issue_1108_push_many_attachments

Conversation

@hideki
Copy link
Copy Markdown

@hideki hideki commented Apr 4, 2016

Problem:

  • Android has 1024 open file limitation.
  • In case a document contains many documents and many documents should be push replicated, number of open file could be reached to limitation.

Solution:

  • By extend AbstractContentBody class, allow multi-part body generator to open and close InputStream just when it is needed.

Problem:
- Android has 1024 open file limitation.
- In case a document contains many documents and many documents should be push replicated, number of open file could be reached to limitation.

Solution:
- By extend `AbstractContentBody` class, allow multi-part body generator to open and close InputStream just when it is needed.
@pasin pasin merged commit bcabd31 into master Apr 5, 2016
@pasin pasin deleted the feature/issue_1108_push_many_attachments branch April 5, 2016 00:21
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

Successfully merging this pull request may close these issues.

2 participants