File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
internal/pkg/agent/configuration Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ inputs:
123
123
# # rollback settings
124
124
# rollback:
125
125
# # duration in which an upgraded Agent may be manually rolled back.
126
- # window: 168h
126
+ # window: 0
127
127
128
128
# agent.process:
129
129
# # timeout for creating new processes. when process is not successfully created by this timeout
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ inputs:
129
129
# # rollback settings
130
130
# rollback:
131
131
# # duration in which an upgraded Agent may be manually rolled back.
132
- # window: 168h
132
+ # window: 0
133
133
134
134
# agent.process:
135
135
# # timeout for creating new processes. when process is not successfully created by this timeout
Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ const (
15
15
16
16
// period during which an upgraded Agent can be asked to rollback to the previous
17
17
// Agent version on disk.
18
- defaultRollbackWindowDuration = 7 * 24 * time .Hour // 7 days
18
+ // this is temporarily set to 0 to disable the rollback window until manual rollback functionality is complete.
19
+ // defaultRollbackWindowDuration = 7 * 24 * time.Hour // 7 days
20
+ defaultRollbackWindowDuration = 0
19
21
)
20
22
21
23
// UpgradeConfig is the configuration related to Agent upgrades.
You can’t perform that action at this time.
0 commit comments