Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

WIP: implement locking of model per request #58

Merged
merged 13 commits into from
Aug 25, 2023
Merged

Conversation

ravenscroftj
Copy link
Owner

@ravenscroftj ravenscroftj commented Aug 24, 2023

Implemented a mutex lock around the model object to prevent multiple concurrent requests from crashing the server.

Any new request that arrives while an existing request is being processed will now wait for the mutex to unlock.

Should address #56

@ravenscroftj ravenscroftj changed the title implement locking of model per request WIP: implement locking of model per request Aug 24, 2023
@ravenscroftj ravenscroftj merged commit c4e57e0 into main Aug 25, 2023
26 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant