influxdb/task/backend/meta.proto

25 lines
567 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
package com.influxdata.platform.task.backend;
option go_package = "backend";
// StoreTaskMeta is the internal state of a task.
message StoreTaskMeta {
int32 max_concurrency = 1;
2018-08-03 19:49:55 +00:00
// last_completed is a unix time stamp of the last completed run.
int64 last_completed = 2;
2018-08-03 19:49:55 +00:00
repeated StoreTaskMetaRun currently_running = 3;
}
message StoreTaskMetaRun {
2018-08-03 19:49:55 +00:00
// now represents a unix timestamp
int64 now = 1;
uint32 try = 2;
bytes run_id = 3 [(gogoproto.customname) = "RunID"];
}