MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / handleEFC

Method handleEFC

rest/api.go:549–553  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

547}
548
549func (h *handler) handleEFC() error { // Handles _ensure_full_commit.
550 // no-op. CouchDB's replicator sends this, so don't barf. Status must be 201.
551 h.writeRawJSONStatus(http.StatusCreated, []byte(`{"instance_start_time":`+strconv.FormatInt(h.instanceStartTimeMicro(), 10)+`,"ok":true}`))
552 return nil
553}
554
555// ADMIN API to turn Go CPU profiling on/off
556func (h *handler) handleProfiling() (err error) {

Callers

nothing calls this directly

Calls 2

writeRawJSONStatusMethod · 0.95

Tested by

no test coverage detected