Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: web/inc/logdog-stream-view/fetcher.ts

Issue 2989313002: [logdog] Stream view explicitly cancels request. (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | web/inc/logdog-stream-view/model.ts » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: web/inc/logdog-stream-view/fetcher.ts
diff --git a/web/inc/logdog-stream-view/fetcher.ts b/web/inc/logdog-stream-view/fetcher.ts
index b8d28821423d5e88c9d2631ab76b8be728134414..a89f5b0cb1c3c8afbbafbb0747284c3051d82ae2 100644
--- a/web/inc/logdog-stream-view/fetcher.ts
+++ b/web/inc/logdog-stream-view/fetcher.ts
@@ -347,7 +347,7 @@ namespace LogDog {
let missingRetry = new luci.RetryIterator(Fetcher.missingRetry);
let resp = await missingRetry.do(() => {
ctx.updateStatus(FetchStatus.LOADING);
- return this.client.get(request);
+ return this.client.get(ctx.op, request);
}, this.doRetryIfMissing(ctx));
let fr = FetchResult.make(resp, this.lastDesc);
return this.afterProcessResult(ctx, fr);
@@ -358,7 +358,7 @@ namespace LogDog {
let resp = await missingRetry.do(() => {
ctx.updateStatus(FetchStatus.LOADING);
let needsState = (this.terminalIndex < 0);
- return this.client.tail(this.stream, needsState);
+ return this.client.tail(ctx.op, this.stream, needsState);
}, this.doRetryIfMissing(ctx));
let fr = FetchResult.make(resp, this.lastDesc);
« no previous file with comments | « no previous file | web/inc/logdog-stream-view/model.ts » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698