dbca-utils 3.0.2__tar.gz → 3.0.3__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 (22) hide show
  1. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/PKG-INFO +1 -1
  2. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/pyproject.toml +1 -1
  3. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/src/dbca_utils/healthcheck/healthcheck.py +2 -2
  4. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/LICENSE +0 -0
  5. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/README.md +0 -0
  6. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/src/dbca_utils/__init__.py +0 -0
  7. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/src/dbca_utils/apps.py +0 -0
  8. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/src/dbca_utils/healthcheck/__init__.py +0 -0
  9. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/src/dbca_utils/healthcheck/urls.py +0 -0
  10. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/src/dbca_utils/middleware.py +0 -0
  11. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/src/dbca_utils/models.py +0 -0
  12. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/src/dbca_utils/utils.py +0 -0
  13. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/tests/__init__.py +0 -0
  14. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/tests/apps.py +0 -0
  15. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/tests/migrations/0001_initial.py +0 -0
  16. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/tests/migrations/__init__.py +0 -0
  17. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/tests/models.py +0 -0
  18. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/tests/settings.py +0 -0
  19. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/tests/templates/tests/test_model_list.html +0 -0
  20. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/tests/tests.py +0 -0
  21. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/tests/urls.py +0 -0
  22. {dbca_utils-3.0.2 → dbca_utils-3.0.3}/tests/views.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dbca-utils
3
- Version: 3.0.2
3
+ Version: 3.0.3
4
4
  Summary: Utilities for DBCA Django apps
5
5
  Author-Email: Rocky Chen <rocky.chen@dbca.wa.gov.au>, Ashley Felton <ashley.felton@dbca.wa.gov.au>
6
6
  License-Expression: Apache-2.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dbca-utils"
3
- version = "3.0.2"
3
+ version = "3.0.3"
4
4
  description = "Utilities for DBCA Django apps"
5
5
  authors = [
6
6
  { name = "Rocky Chen", email = "rocky.chen@dbca.wa.gov.au" },
@@ -284,7 +284,7 @@ def save_workloads(workloads,unreached_servers=None):
284
284
  workloads[item_version] += 1
285
285
 
286
286
  #save the new workloads data
287
- cache.set(key_workloads,workloads)
287
+ cache.set(key_workloads,workloads,timeout=None)
288
288
  logger.debug("Successfully save the workloads:{}".format(str_workloads(workloads)))
289
289
  return
290
290
  finally:
@@ -325,7 +325,7 @@ def save_assignedworkloads(assignedworkloads):
325
325
  assignedworkloads[item_version] += 1
326
326
 
327
327
  #save the new workloads data
328
- cache.set(key_assignedworkloads,assignedworkloads)
328
+ cache.set(key_assignedworkloads,assignedworkloads,timeout=None)
329
329
  logger.debug("Successfully save the assigned workloads:{}".format(assignedworkloads))
330
330
  return
331
331
  finally:
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes