mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 03:47:36 -02:30
Further log adjustments
This commit is contained in:
@@ -1160,8 +1160,8 @@ class BaseTask(object):
|
|||||||
# if last 30 events came in under 1 second ago
|
# if last 30 events came in under 1 second ago
|
||||||
if inverse_effective_rate < 1.0:
|
if inverse_effective_rate < 1.0:
|
||||||
if self.recent_event_timings[0] != self.recent_event_timings[-1]:
|
if self.recent_event_timings[0] != self.recent_event_timings[-1]:
|
||||||
logger.info(
|
logger.debug(
|
||||||
'Too many events, skipping websocket {} broadcast for {} seconds'.format(self.instance.log_format, 1.0 - inverse_effective_rate)
|
'Too many events, skipping job {} websocket broadcast for {:.4f} seconds'.format(self.instance.id, 1.0 - inverse_effective_rate)
|
||||||
)
|
)
|
||||||
# this is to smooth out jumpiness, we clear the events except for the last one
|
# this is to smooth out jumpiness, we clear the events except for the last one
|
||||||
# that will enforce that we wait a full second before starting again
|
# that will enforce that we wait a full second before starting again
|
||||||
|
|||||||
Reference in New Issue
Block a user