indexify 0.3.14__tar.gz → 0.3.15__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 (51) hide show
  1. {indexify-0.3.14 → indexify-0.3.15}/PKG-INFO +1 -1
  2. {indexify-0.3.14 → indexify-0.3.15}/pyproject.toml +1 -1
  3. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/executor.py +2 -2
  4. {indexify-0.3.14 → indexify-0.3.15}/README.md +0 -0
  5. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/cli/cli.py +0 -0
  6. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/README.md +0 -0
  7. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/api_objects.py +0 -0
  8. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/downloader.py +0 -0
  9. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/function_executor.py +0 -0
  10. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/function_executor_state.py +0 -0
  11. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/function_executor_states_container.py +0 -0
  12. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/health_checker.py +0 -0
  13. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/invocation_state_client.py +0 -0
  14. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/metrics/function_executor.py +0 -0
  15. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/metrics/function_executor_state.py +0 -0
  16. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/metrics/function_executor_state_container.py +0 -0
  17. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/metrics/health_checker.py +0 -0
  18. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/metrics/invocation_state_client.py +0 -0
  19. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/metrics/single_task_runner.py +0 -0
  20. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/server/client_configuration.py +0 -0
  21. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/server/function_executor_server.py +0 -0
  22. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/server/function_executor_server_factory.py +0 -0
  23. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/server/subprocess_function_executor_server.py +0 -0
  24. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/server/subprocess_function_executor_server_factory.py +0 -0
  25. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/single_task_runner.py +0 -0
  26. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/task_input.py +0 -0
  27. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/function_executor/task_output.py +0 -0
  28. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/metrics/downloader.py +0 -0
  29. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/metrics/executor.py +0 -0
  30. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/metrics/task_fetcher.py +0 -0
  31. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/metrics/task_reporter.py +0 -0
  32. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/metrics/task_runner.py +0 -0
  33. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/monitoring/function_allowlist.py +0 -0
  34. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/monitoring/handler.py +0 -0
  35. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/monitoring/health_check_handler.py +0 -0
  36. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/monitoring/health_checker/generic_health_checker.py +0 -0
  37. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/monitoring/health_checker/health_checker.py +0 -0
  38. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/monitoring/metrics.py +0 -0
  39. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/monitoring/prometheus_metrics_handler.py +0 -0
  40. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/monitoring/server.py +0 -0
  41. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/monitoring/startup_probe_handler.py +0 -0
  42. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/runtime_probes.py +0 -0
  43. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/state_reconciler.py +0 -0
  44. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/state_reporter.py +0 -0
  45. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/task_fetcher.py +0 -0
  46. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/task_reporter.py +0 -0
  47. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/executor/task_runner.py +0 -0
  48. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/task_scheduler/proto/task_scheduler.proto +0 -0
  49. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/task_scheduler/proto/task_scheduler_pb2.py +0 -0
  50. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/task_scheduler/proto/task_scheduler_pb2.pyi +0 -0
  51. {indexify-0.3.14 → indexify-0.3.15}/src/indexify/task_scheduler/proto/task_scheduler_pb2_grpc.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: indexify
3
- Version: 0.3.14
3
+ Version: 0.3.15
4
4
  Summary: Open Source Indexify components and helper tools
5
5
  Home-page: https://github.com/tensorlakeai/indexify
6
6
  License: Apache 2.0
@@ -1,7 +1,7 @@
1
1
  [tool.poetry]
2
2
  name = "indexify"
3
3
  # Incremented if any of the components provided in this packages are updated.
4
- version = "0.3.14"
4
+ version = "0.3.15"
5
5
  description = "Open Source Indexify components and helper tools"
6
6
  authors = ["Tensorlake Inc. <support@tensorlake.ai>"]
7
7
  license = "Apache 2.0"
@@ -228,7 +228,8 @@ class Executor:
228
228
  try:
229
229
  async for task in self._task_fetcher.run():
230
230
  metric_tasks_fetched.inc()
231
- asyncio.create_task(self._run_task(task))
231
+ if not self._is_shutdown:
232
+ asyncio.create_task(self._run_task(task))
232
233
  except Exception as e:
233
234
  self._logger.error(
234
235
  "failed fetching tasks, retrying in 5 seconds", exc_info=e
@@ -351,7 +352,6 @@ class Executor:
351
352
 
352
353
  if self._task_runner is not None:
353
354
  await self._task_runner.shutdown()
354
- self._task_runner = None
355
355
  if self._state_reporter is not None:
356
356
  await self._state_reporter.shutdown()
357
357
  self._state_reporter = None
File without changes