diff options
| -rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 50dd4229da..b2e7520ee7 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
| @@ -623,7 +623,8 @@ def main(server, eventHandler, params, tf = TerminalFilter): | |||
| 623 | warnings = 0 | 623 | warnings = 0 |
| 624 | taskfailures = [] | 624 | taskfailures = [] |
| 625 | 625 | ||
| 626 | printinterval = 5000 | 626 | printintervaldelta = 10 * 60 # 10 minutes |
| 627 | printinterval = printintervaldelta | ||
| 627 | lastprint = time.time() | 628 | lastprint = time.time() |
| 628 | 629 | ||
| 629 | termfilter = tf(main, helper, console_handlers, params.options.quiet) | 630 | termfilter = tf(main, helper, console_handlers, params.options.quiet) |
| @@ -633,7 +634,7 @@ def main(server, eventHandler, params, tf = TerminalFilter): | |||
| 633 | try: | 634 | try: |
| 634 | if (lastprint + printinterval) <= time.time(): | 635 | if (lastprint + printinterval) <= time.time(): |
| 635 | termfilter.keepAlive(printinterval) | 636 | termfilter.keepAlive(printinterval) |
| 636 | printinterval += 5000 | 637 | printinterval += printintervaldelta |
| 637 | event = eventHandler.waitEvent(0) | 638 | event = eventHandler.waitEvent(0) |
| 638 | if event is None: | 639 | if event is None: |
| 639 | if main.shutdown > 1: | 640 | if main.shutdown > 1: |
| @@ -664,7 +665,7 @@ def main(server, eventHandler, params, tf = TerminalFilter): | |||
| 664 | 665 | ||
| 665 | if isinstance(event, logging.LogRecord): | 666 | if isinstance(event, logging.LogRecord): |
| 666 | lastprint = time.time() | 667 | lastprint = time.time() |
| 667 | printinterval = 5000 | 668 | printinterval = printintervaldelta |
| 668 | if event.levelno >= bb.msg.BBLogFormatter.ERRORONCE: | 669 | if event.levelno >= bb.msg.BBLogFormatter.ERRORONCE: |
| 669 | errors = errors + 1 | 670 | errors = errors + 1 |
| 670 | return_value = 1 | 671 | return_value = 1 |
