MCPcopy Create free account
hub / github.com/cloudwan/gohan / measureSyncTime

Method measureSyncTime

server/sync_watcher.go:326–328  ·  view source on GitHub ↗
(timeStarted time.Time, action string)

Source from the content-addressed store, hash-verified

324}
325
326func (watcher *SyncWatcher) measureSyncTime(timeStarted time.Time, action string) {
327 metrics.UpdateTimer(timeStarted, "sync.%s", action)
328}
329
330//Run extension on sync
331func (watcher *SyncWatcher) runExtensionOnSync(response *gohan_sync.Event, env extension.Environment) {

Callers 1

runExtensionOnSyncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected