Skip to content
GitLab
  • Explore
  • Sign in
  • itmineduitminedu
  • snf-ganeti
  • Repository
  • snf-ganeti
  • lib
  • jqueue.py
Find file Blame History Permalink
  • Guido Trotter's avatar
    Share the jqueue lock on job-local changes · 3c0d60d0
    Guido Trotter authored Jun 15, 2010
    
    
    We can share the jqueue lock when we do per-job updates. These only
    conflict with updates/checks on the same job from another thread (eg.
    CancelJob, ArchiveJob, which keep the lock unshared, since they are less
    frequent).
    
    Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
    Reviewed-by: default avatarIustin Pop <iustin@google.com>
    3c0d60d0