mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-11 10:18:28 +09:00
Further event updates
This commit is contained in:
parent
edf6b2c89c
commit
f4fe6fb4ae
5 changed files with 45 additions and 36 deletions
|
@ -41,9 +41,10 @@ func (t *threadsMetrics) AcceptRecord(tp metrics.RecordType, isNAT bool) {
|
|||
})
|
||||
}
|
||||
|
||||
func (t *threadsMetrics) CreateRecord(beforeMs int, busMs int, pushMs int) {
|
||||
func (t *threadsMetrics) CreateRecord(prepareMs int64, newRecordMs int64, busMs int64, pushMs int64) {
|
||||
t.client.RecordEvent(RecordCreateEvent{
|
||||
NewRecordMs: beforeMs,
|
||||
PrepareMs: prepareMs,
|
||||
NewRecordMs: newRecordMs,
|
||||
LocalEventBusMs: busMs,
|
||||
PushMs: pushMs,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue