Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the media.js file there is a todo that states
// Temporarily disable attach fields other than the one we're currently
// working with. Filter out fields that are already disabled so that they
// do not get enabled when we re-enable these fields at the end of behavior
// processing. Re-enable in a setTimeout set to a relatively short amount
// of time (1 second). All the other mousedown handlers (like Drupal's Ajax
// behaviors) are excuted before any timeout functions are called, so we
// don't have to worry about the fields being re-enabled too soon.
// @todo If the previous sentence is true, why not set the timeout to 0?
I have run into some problems with uploading of large amounts of files because of this timeout. I will attach a patch to low it to 0
Comment | File | Size | Author |
---|---|---|---|
#1 | 2391799-why-not-set-the-timeout-to-0.patch | 361 bytes | e2thex |
Comments
Comment #1
e2thex CreditAttribution: e2thex commentedAttaching patch
Comment #2
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedClosing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team