File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ workload-exporter export \
5454
5555- ` --connection-url ` , ` -c ` : Connection string for CockroachDB (required)
5656- ` --output-file ` , ` -o ` : Output zip file name (default: "workload-export.zip")
57- - ` --start ` , ` -s ` : Start time in RFC3339 format (default: current time - 6 hours)
57+ - ` --start ` , ` -s ` : Start time in RFC3339 format (default: current time - 2 hours)
5858- ` --end ` , ` -e ` : End time in RFC3339 format (default: current time + 1 hour)
5959- ` --debug ` : Enable debug logging output
6060
@@ -174,7 +174,7 @@ func main() {
174174 ConnectionString: " postgresql://user:password@host:26257/?sslmode=verify-full" ,
175175 OutputFile: " my-export.zip" ,
176176 TimeRange: export.TimeRange {
177- Start: time.Now ().Add (-6 * time.Hour ),
177+ Start: time.Now ().Add (-2 * time.Hour ),
178178 End: time.Now (),
179179 },
180180 }
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ func init() {
6060}
6161
6262func defaultStartFlag () string {
63- return time .Now ().UTC ().Add (- 6 * time .Hour ).Format (time .RFC3339 )
63+ return time .Now ().UTC ().Add (- 2 * time .Hour ).Format (time .RFC3339 )
6464}
6565
6666func defaultEndFlag () string {
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ var exportTables = []Table{
9696// ConnectionString: "postgresql://user:password@host:26257/?sslmode=verify-full",
9797// OutputFile: "export.zip",
9898// TimeRange: export.TimeRange{
99- // Start: time.Now().Add(-6 * time.Hour),
99+ // Start: time.Now().Add(-2 * time.Hour),
100100// End: time.Now(),
101101// },
102102// }
You can’t perform that action at this time.
0 commit comments