matrice-compute 0.1.38__tar.gz → 0.1.39__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/PKG-INFO +1 -1
  2. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/matrice_compute.egg-info/PKG-INFO +1 -1
  3. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/src/matrice_compute/action_instance.py +1 -2
  4. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/LICENSE.txt +0 -0
  5. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/README.md +0 -0
  6. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/matrice_compute.egg-info/SOURCES.txt +0 -0
  7. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/matrice_compute.egg-info/dependency_links.txt +0 -0
  8. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/matrice_compute.egg-info/not-zip-safe +0 -0
  9. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/matrice_compute.egg-info/top_level.txt +0 -0
  10. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/pyproject.toml +0 -0
  11. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/setup.cfg +0 -0
  12. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/setup.py +0 -0
  13. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/src/matrice_compute/__init__.py +0 -0
  14. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/src/matrice_compute/actions_manager.py +0 -0
  15. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/src/matrice_compute/actions_scaledown_manager.py +0 -0
  16. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/src/matrice_compute/compute_operations_handler.py +0 -0
  17. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/src/matrice_compute/instance_manager.py +0 -0
  18. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/src/matrice_compute/instance_utils.py +0 -0
  19. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/src/matrice_compute/prechecks.py +0 -0
  20. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/src/matrice_compute/py.typed +0 -0
  21. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/src/matrice_compute/resources_tracker.py +0 -0
  22. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/src/matrice_compute/scaling.py +0 -0
  23. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/src/matrice_compute/shutdown_manager.py +0 -0
  24. {matrice_compute-0.1.38 → matrice_compute-0.1.39}/src/matrice_compute/task_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice_compute
3
- Version: 0.1.38
3
+ Version: 0.1.39
4
4
  Summary: Common server utilities for Matrice.ai services
5
5
  Author-email: "Matrice.ai" <dipendra@matrice.ai>
6
6
  License-Expression: MIT
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice_compute
3
- Version: 0.1.38
3
+ Version: 0.1.39
4
4
  Summary: Common server utilities for Matrice.ai services
5
5
  Author-email: "Matrice.ai" <dipendra@matrice.ai>
6
6
  License-Expression: MIT
@@ -478,8 +478,7 @@ class ActionInstance:
478
478
 
479
479
  # if the service provider is local, then put --restart unless-stopped
480
480
  if os.environ.get("SERVICE_PROVIDER") in ("local", "LOCAL"):
481
- env_exports += " && export DOCKER_RESTART_POLICY='--restart unless-stopped' "
482
- use_restart_policy = "--restart unless-stopped"
481
+ use_restart_policy = "--restart=unless-stopped "
483
482
  else:
484
483
  use_restart_policy = ""
485
484