MCPcopy Create free account
hub / github.com/cortexlabs/cortex / updateStatus

Method updateStatus

pkg/dequeuer/async_handler.go:143–146  ·  view source on GitHub ↗
(requestID string, status async.Status)

Source from the content-addressed store, hash-verified

141}
142
143func (h *AsyncMessageHandler) updateStatus(requestID string, status async.Status) error {
144 key := async.StatusPath(h.storagePath, requestID, status)
145 return h.aws.UploadStringToS3("", h.config.Bucket, key)
146}
147
148func (h *AsyncMessageHandler) getPayload(requestID string) (io.ReadCloser, error) {
149 key := async.PayloadPath(h.storagePath, requestID)

Callers 1

handleMessageMethod · 0.95

Calls 2

StatusPathFunction · 0.92
UploadStringToS3Method · 0.80

Tested by

no test coverage detected