diff options
author | Fabian Lange <lange.fabian@gmail.com> | 2014-03-12 12:47:00 +0100 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-03-13 12:33:07 +0000 |
commit | 7e7b6239ca8867d13e8d8b279a0541bfd71466f7 (patch) | |
tree | 5f0030f16bc2a846382c567dfccfc463d1ef10bf /server/src/com/vaadin/ui/UI.java | |
parent | 7112abe944259a615e26342de17d0302ddec3562 (diff) | |
download | vaadin-framework-7e7b6239ca8867d13e8d8b279a0541bfd71466f7.tar.gz vaadin-framework-7e7b6239ca8867d13e8d8b279a0541bfd71466f7.zip |
reduce frequency of session locking and StreamingProgressEvents (#13155)
This change introduces throttling of streaming progress events. Before
a event was fired once a buffer was filled. However as the buffer is only
4kb in size, fast uploads would trigger massive amounts of events.
This change is backwards incompatible on a logical level. Before this
change, a listener would get contentLength/4kb events, while after this
change the amount is limited to one progress event per 500ms.
Change-Id: I5da092ec4488971b8554b68b44c346057bfcc0e0
Diffstat (limited to 'server/src/com/vaadin/ui/UI.java')
0 files changed, 0 insertions, 0 deletions