Topic: Adjust chunk_size in BeforeUpload event

Hello,
I am using the BeforeUpload event to change the chunk_size setting on the uploader, but it is creating a strange error. For some reason, the upload gets submitted twice. I have no idea why.

Is it possible to change chunk_size in the BeforeUpload event?