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

Unified Diff: filter/count/tq.go

Issue 1306373002: filter/count: Fix alignment on 32-bit systems. (Closed) Base URL: https://github.com/luci/gae@master
Patch Set: Use &...{} instead of new. Created 5 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
« filter/count/count.go ('K') | « filter/count/rds.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: filter/count/tq.go
diff --git a/filter/count/tq.go b/filter/count/tq.go
index 379e69d3dc8956e190a35b4775d766dca8725f8c..bc0426b0c3611d010cd54e2ce4b45e8c0d53aff3 100644
--- a/filter/count/tq.go
+++ b/filter/count/tq.go
@@ -49,6 +49,11 @@ func (t *tqCounter) Testable() tq.Testable {
// FilterTQ installs a counter TaskQueue filter in the context.
func FilterTQ(c context.Context) (context.Context, *TQCounter) {
state := &TQCounter{}
+ state.AddMulti.init()
+ state.DeleteMulti.init()
+ state.Purge.init()
+ state.Stats.init()
+
return tq.AddRawFilters(c, func(ic context.Context, tq tq.RawInterface) tq.RawInterface {
return &tqCounter{state, tq}
}), state
« filter/count/count.go ('K') | « filter/count/rds.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698