Skip to content

Comments

chore: remove isCompressing checking for concurrent compress.#307

Open
yujune wants to merge 2 commits intojonataslaw:masterfrom
yujune:simultaneous_compress
Open

chore: remove isCompressing checking for concurrent compress.#307
yujune wants to merge 2 commits intojonataslaw:masterfrom
yujune:simultaneous_compress

Conversation

@yujune
Copy link

@yujune yujune commented Apr 23, 2025

Issue

The current VideoCompress.compressVideo method can only be called once at a time due to the isCompressing flag blocking concurrent executions. As a result, using Future.wait([VideoCompress.compressVideo(), VideoCompress.compressVideo(), ...]) fails.

Changes

Removed isCompressing to allow concurrent executions using Future.wait([...]).

@yujune yujune changed the title chore: remove isCompressing checking to allow simultaneous compress. chore: remove isCompressing checking to allow concurrent compress. Apr 23, 2025
@yujune yujune changed the title chore: remove isCompressing checking to allow concurrent compress. chore: remove isCompressing checking for concurrent compress. Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants