-
Notifications
You must be signed in to change notification settings - Fork 27
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
♻️ Locking dy-service start per user and per project #4055
♻️ Locking dy-service start per user and per project #4055
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4055 +/- ##
========================================
+ Coverage 81.3% 84.7% +3.3%
========================================
Files 953 953
Lines 41392 41408 +16
Branches 957 962 +5
========================================
+ Hits 33684 35104 +1420
+ Misses 7503 6086 -1417
- Partials 205 218 +13
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…en-starting-sevices
…en-starting-sevices
services/web/server/src/simcore_service_webserver/projects/_nodes_utils.py
Show resolved
Hide resolved
…en-starting-sevices
…en-starting-sevices
…en-starting-sevices
…HK/osparc-simcore-forked into pr-osaprc-lock-when-starting-sevices
…HK/osparc-simcore-forked into pr-osaprc-lock-when-starting-sevices
…en-starting-sevices
…en-starting-sevices
…en-starting-sevices
Code Climate has analyzed commit 2c73726 and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed!
|
What do these changes do?
Addresses the following:
services/web/server/src/simcore_service_webserver/projects/projects_api.py
services/web/server/tests/unit/with_dbs/02/test_projects_nodes_handler.py
Repo wide Redis modules refactor and centralization:
RedisClientSDK
module. It is now the de facto standard used by all module which require modules.lock_context
can now be blockingRedisClientsManager
which keeps track of multipl Redis clients, useful for applications that require access to more than one DB.AlreadyLockedError
->CouldNotAcquireLockError
redis.exceptions.LockError
which are now suppressedwerbserver
's redid client withRedisClientSDK
andRedisClientsManager
services/director-v2/src/simcore_service_director_v2/modules/node_rights.py
to useRedisClientSDK
packages/service-library/src/servicelib/background_task.py
Extra:
pylance
added by defaultredis==4.5.4
in services that use ittests/integration/02/test_dynamic_sidecar_nodeports_integration.py::test_nodeports_integration
Related issue/s
How to test