Skip to content

Commit e21ae6e

Browse files
authored
fixed ram issue (#198)
1 parent e8a28e3 commit e21ae6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

launcher-csharp/Monitor/Examples/GetMonitoringDataFunc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public virtual IEnumerable<object> Invoke(string accessToken, string requestPath
3333

3434
// Declare variables
3535
//ds-snippet-start:Monitor1Step3
36-
DateTime cursorDate = DateTime.UtcNow.AddYears(-1);
36+
DateTime cursorDate = DateTime.UtcNow.AddDays(-1);
3737
bool complete = false;
3838
string cursorValue = cursorDate.ToString("yyyy-MM-dd") + "T00:00:00Z";
3939
int limit = 2000; // Amount of records you want to read in one request

0 commit comments

Comments
 (0)