edulinq / autograder-server

A server to automatically grading coding assignments.
MIT License
4 stars 5 forks source link

Centralized Locking #5

Closed eriq-augustine closed 3 months ago

eriq-augustine commented 11 months ago

Make a package for handling locking.

It will be pretty simple, just lock based on a key. Add in some extras like removing stale locks every so often via a background routine.

eriq-augustine commented 9 months ago

I can see a system where we can have something like a LockManager, which can handle all the locking functions in addition to clearing out unused locks.

eriq-augustine commented 8 months ago

Oliver is going after this.

eriq-augustine commented 4 months ago

@OliverLok Are you still going for this?

eriq-augustine commented 3 months ago

Initial version implemented in 3058d1ef651085eb282cafccf408238424d23cab. Will close this out once we get one more PR that replace an instance of older locking with this.

eriq-augustine commented 3 months ago

This is complete in 01afbb41236ae3eb3e720bfe334543412ad8b4a4 !