You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Avalon passes all of the filenames of files in the dropbox into a single lsof command which fails with Errno::E2BIG if there are too many files in the dropbox.
Report in slack by Sahab Bolhari.
Expected behavior
Avalon can create new items in a collection no matter how many files are in the dropbox.
Could implement a paging of the files or some other way to rework this (a splat, xargs style thing) to avoid an obscenely long line for getting the files list.
Describe the bug
Avalon passes all of the filenames of files in the dropbox into a single
lsof
command which fails withErrno::E2BIG
if there are too many files in the dropbox.Report in slack by Sahab Bolhari.
Expected behavior
Avalon can create new items in a collection no matter how many files are in the dropbox.
Screenshots/Screen Recording
Truncated error message:
Environment (please complete the following information):
Docker
Release:
Is this issue associated with a specific release? Unknown
Additional notes
See https://github.com/avalonmediasystem/avalon/blob/main/lib/avalon/batch.rb#L36-L42
The text was updated successfully, but these errors were encountered: