Skip to content
Snippets Groups Projects
  1. Jun 17, 2010
  2. Jun 15, 2010
  3. Jun 14, 2010
  4. Jun 13, 2010
  5. Jun 11, 2010
    • Guido Trotter's avatar
      Cache a few bits of status in jqueue · 20571a26
      Guido Trotter authored
      
      Currently each time we submit a job we check the job queue size, and the
      drained file. With this change we keep these pieces of information in
      memory and don't read them from the filesystem each time.
      
      Significant changes include:
        - The drained value can only be properly set by calling the
          appropriate cluster command "gnt-cluster queue drain/undrain" and
          not by removing/creating the file in the job queue directory. Not
          that anybody would have done it in this undocumented way before.
        - We get rid of the soft limit for the job queue, which we haven't
          ever used anyway.
      
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      20571a26
Loading