Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • juerg/cache-query-job-benchmark
  • bst-1 protected
  • juerg/cache-query-job
  • tristan/fix-recursive-artifact-pull
  • nanonyme/remove-fix-python-timestamps
  • tristan/shell-artifacts
  • bschubert/update-coverage
  • juerg/remote-cache
  • nanonyme/subprocess-devnull
  • tristan/artifact-extensions
  • tpollard/custom-platform-properties
  • juerg/buildbox
  • chandan/update-reqs
  • chandan/moar-runners
  • tpollard/optional-sandbox-properties
  • nanonyme/fix-tests
  • bschubert/standardize-source-tests
  • nanonyme/warn-nofile
  • abderrahim/stage-artifact-scriptelement
  • 1.6.1
  • 1.6.0
  • 1.93.5
  • 1.5.1
  • 1.93.4
  • bst-1.4-branchpoint protected
  • 1.5.0
  • 1.4.3
  • 1.93.3
  • 1.93.2
  • 1.4.2
  • 1.93.1
  • 1.93.0
  • 1.91.3
  • 1.91.2
  • 1.91.1
  • 1.91.0
  • bst-1-branchpoint protected
  • 1.4.1
  • 1.4.0
40 results

pullqueue.py

Blame
  • Tristan Van Berkom's avatar
    00784059
    _scheduler: API fixes; _check_cache_size_real() -> check_cache_size() · 00784059
    Tristan Van Berkom authored
    Here we have a very private looking _check_cache_size_real() function
    which no-one would ever want to call from outside of the _scheduler,
    especially given it's `_real()` prefix we should look for another
    outward facing API to use.
    
    However this is not private to the scheduler, and is intended to
    be called by the `Queue` implementations.
    
      o Renamed this to check_cache_size()
    
      o Moved it to the public API section of the Scheduler object
    
      o Added the missing API documenting comment
    
      o Also added the missing API documenting comment to the private
        `_run_cleanup()` callback which runs in response to completion
        of the cache size calculation job.
    
      o Also place the cleanup job logs into a cleanup subdirectory,
        for better symmetry with the cache_size jobs which now have
        their own subdirectory
    00784059
    History
    _scheduler: API fixes; _check_cache_size_real() -> check_cache_size()
    Tristan Van Berkom authored
    Here we have a very private looking _check_cache_size_real() function
    which no-one would ever want to call from outside of the _scheduler,
    especially given it's `_real()` prefix we should look for another
    outward facing API to use.
    
    However this is not private to the scheduler, and is intended to
    be called by the `Queue` implementations.
    
      o Renamed this to check_cache_size()
    
      o Moved it to the public API section of the Scheduler object
    
      o Added the missing API documenting comment
    
      o Also added the missing API documenting comment to the private
        `_run_cleanup()` callback which runs in response to completion
        of the cache size calculation job.
    
      o Also place the cleanup job logs into a cleanup subdirectory,
        for better symmetry with the cache_size jobs which now have
        their own subdirectory