Skip to content

Commit f0ba14e

Browse files
Fix EMFILE error when running on Android (#3277) (#3278)
During running on Android, CLI tries to take smart decision which files to upload. This is done by checking the shasum of all project files and comparing it with the latest one uploaded to device. However, in huge projects, this leads to error with code EMFILE as the OS have limits for opened file handles. This happens as CLI executes the operation simultaneously for all files. In order to fix this behavior, execute the actions by chunks (currently set to 100). Introduce new method in helpers to execute this action and add tests for it.
1 parent 9eb3a22 commit f0ba14e

File tree

1 file changed

+1
-1
lines changed

0 commit comments

Comments
 (0)