Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement mutex around file mutation http handlers #247
Goal of PR
Implement mutex around file http handlers that perform file mutations:
A mutex is unique to a
Instantiating many concurrent POST or DELETE requests to the same endpoint, using something like curl or a load tester.
Tests implemented for full coverage of the mutex implementation and http conflict error paths.
@@ Coverage Diff @@ ## develop #247 +/- ## =========================================== + Coverage 79.58% 79.65% +0.06% =========================================== Files 21 21 Lines 1406 1440 +34 Branches 260 263 +3 =========================================== + Hits 1119 1147 +28 - Misses 211 217 +6 Partials 76 76
* feature/read-file: Add docs for performRead to driver model definition in README Add docs for performRename and performStat to driver model definition in README Update blockstack.js dep out of beta version Implement decodeTokenForPayload helper function Update to blockstack.js beta package to fix typing collisions with bitcoinjs-lib v5 Add tests for schema validation warnings Add additional config param schema descriptions, cleanup sample configs Config schema validation that logs console warnings
jcnelson left a comment
This more or less looks good, but I just wanted some clarity on two points: