Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Improve synchronisation with garbage collector #1215

Open
winston-yallow opened this issue Apr 12, 2024 · 0 comments
Open

Comments

@winston-yallow
Copy link

winston-yallow commented Apr 12, 2024

Feature Request Type

either a new RPC event, or an improvement to existing RPC requests

Requested Feature

Currently after removing something there is a delay until the name can be reused for something new. This is due to the garbage collector in OBS. The API could delay the response of "Remove" requests until the subject is actually garbage collected. Alternatively, the API could have an event that is emitted whenever something is garbage collected. Either way, I propose to have a way to have a synchronization point in the API for knowing when something is actually removed.

Requested Feature Usage Scenario

I have a synchronization between my application and OBS. If it gets out of sync, I recreate the full scenes in OBS. So they are deleted and then recreated. The usage here would be knowing when I can start the recreation after the removal. Currently I have a loop with an incremental back off to just try creating them until it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant