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

Unified Diff: logdog/appengine/coordinator/mutations/createArchiveTask.go

Issue 2592753002: Create unbuffered Tumble entry point for LogDog. (Closed)
Patch Set: Add bench, update. Created 4 years 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 | « logdog/appengine/coordinator/endpoints/services/terminateStream_test.go ('k') | tumble/process.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/appengine/coordinator/mutations/createArchiveTask.go
diff --git a/logdog/appengine/coordinator/mutations/createArchiveTask.go b/logdog/appengine/coordinator/mutations/createArchiveTask.go
index 5e0530cec2d97d255bd541b502da21f1989bd09d..6696acfe93e4d7f6a31b27df9ce7d2c4bc33eb03 100644
--- a/logdog/appengine/coordinator/mutations/createArchiveTask.go
+++ b/logdog/appengine/coordinator/mutations/createArchiveTask.go
@@ -102,8 +102,8 @@ func (m *CreateArchiveTask) ProcessAfter() time.Time { return m.Expiration }
func (m *CreateArchiveTask) HighPriority() bool { return false }
// TaskName returns the task's name, which is derived from its log stream ID.
-func (m *CreateArchiveTask) TaskName(c context.Context) (*ds.Key, string) {
- return ds.KeyForObj(c, m.logStream()), fmt.Sprintf("archive-expired-%s", m.ID)
+func (m *CreateArchiveTask) TaskName(c context.Context) string {
+ return fmt.Sprintf("archive-expired-%s", m.ID)
}
// logStream returns the log stream associated with this task.
« no previous file with comments | « logdog/appengine/coordinator/endpoints/services/terminateStream_test.go ('k') | tumble/process.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698