Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 38
    • Merge requests 38
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slapos.core
  • Merge requests
  • !101

slapgrid.promise: Improve promise check speed

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Alain Takoudjou requested to merge promise-speedup into master Feb 27, 2019
  • Overview 39
  • Commits 3
  • Pipelines 0
  • Changes 3

Use cache to save some promise instance information. First run of slapgrid fill each promise cached (when there is no cache). The next run will check some usefull info like if promise is test less or promise is anomaly less directly from cache without need to import the module.

Cache is updated if promise file or module change, or if the promise periodicity expire (when the promise it update cache).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: promise-speedup
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7