Skip to content

Commit e705483

Browse files
Fix EMFILE error when running on Android (#3277)
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 9a95e7c commit e705483

File tree

1 file changed

+1
-1
lines changed