Skip to content

Commit 085a346

Browse files
committed
Extend documentation of duration
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent ab65375 commit 085a346

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

proto/frequenz/api/dispatch/v1/dispatch.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ message DispatchData {
133133
google.protobuf.Timestamp start_time = 2;
134134

135135
// Duration in seconds
136+
// The duration of the dispatch in seconds. If the duration is not set, the dispatch
137+
// will be considered to have an infinite duration.
138+
// A duration of 0 seconds is also valid, indicating a dispatch that
139+
// immediately starts and ends, e.g. switching a component on and off.
136140
optional uint32 duration = 3;
137141

138142
// Dispatch microgrid component selector

0 commit comments

Comments
 (0)