Skip to content

Commit d00d03c

Browse files
Merge pull request #9433 from Ayanda-D/fix-credit-flow-trace-events-time-unit
Fix time unit in credit_flow trace events which has potential to crash all messaging components
2 parents 3f16a1c + c2217e3 commit d00d03c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps/rabbit_common/src/credit_flow.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,13 @@
9999
{from_info, erlang:process_info(FROM)},
100100
{timestamp,
101101
os:system_time(
102-
milliseconds)}])).
102+
millisecond)}])).
103103
-define(TRACE_UNBLOCKED(SELF, FROM), rabbit_event:notify(credit_flow_unblocked,
104104
[{process, SELF},
105105
{from, FROM},
106106
{timestamp,
107107
os:system_time(
108-
milliseconds)}])).
108+
millisecond)}])).
109109
-else.
110110
-define(TRACE_BLOCKED(SELF, FROM), ok).
111111
-define(TRACE_UNBLOCKED(SELF, FROM), ok).

0 commit comments

Comments
 (0)