Commit b38996aa authored by antirez's avatar antirez
Browse files

latencyTimeSeries structure max field type fixed.

parent 062564c2
...@@ -46,7 +46,7 @@ struct latencySample { ...@@ -46,7 +46,7 @@ struct latencySample {
/* The latency time series for a given event. */ /* The latency time series for a given event. */
struct latencyTimeSeries { struct latencyTimeSeries {
int idx; /* Index of the next sample to store. */ int idx; /* Index of the next sample to store. */
mstime_t max; /* Max latency observed for this event. */ uint32_t max; /* Max latency observed for this event. */
struct latencySample samples[LATENCY_TS_LEN]; /* Latest history. */ struct latencySample samples[LATENCY_TS_LEN]; /* Latest history. */
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment