diff options
| -rw-r--r-- | bitbake/lib/bb/server/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index ad4035a738..b627ae0ab6 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
| @@ -477,7 +477,7 @@ class ProcessServer(): | |||
| 477 | 477 | ||
| 478 | # Create new heartbeat event? | 478 | # Create new heartbeat event? |
| 479 | now = time.time() | 479 | now = time.time() |
| 480 | if bb.event._heartbeat_enabled and now >= self.next_heartbeat: | 480 | if items and bb.event._heartbeat_enabled and now >= self.next_heartbeat: |
| 481 | # We might have missed heartbeats. Just trigger once in | 481 | # We might have missed heartbeats. Just trigger once in |
| 482 | # that case and continue after the usual delay. | 482 | # that case and continue after the usual delay. |
| 483 | self.next_heartbeat += self.heartbeat_seconds | 483 | self.next_heartbeat += self.heartbeat_seconds |
