Skip to content

Commit

Permalink
add comment for serializing remoteCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Dec 14, 2014
1 parent 65832db commit ff1eef7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions master/buildbot/process/remotecommand.py
Expand Up @@ -64,6 +64,9 @@ def __init__(self, remote_command, args, ignore_updates=False,
self.builder_name = None
self.commandID = None
self.deferred = None
# a lock to make sure that only one log-handling method runs at a time.
# This is really only a problem with old-style steps, which do not
# wait for the Deferred from one method before invoking the next.
self.loglock = defer.DeferredLock()

def __repr__(self):
Expand Down

0 comments on commit ff1eef7

Please sign in to comment.