From 3f11a70e8e4fcaf66b4ce3f8ec2fba6f11780b3b Mon Sep 17 00:00:00 2001 From: Daniel Ponte Date: Sun, 4 Aug 2024 15:29:07 -0400 Subject: [PATCH] use new ctx --- pkg/gordio/server/ingest.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pkg/gordio/server/ingest.go b/pkg/gordio/server/ingest.go index 2c5a868..383cbb0 100644 --- a/pkg/gordio/server/ingest.go +++ b/pkg/gordio/server/ingest.go @@ -4,13 +4,8 @@ import ( "context" "dynatron.me/x/stillbox/pkg/gordio/calls" - "dynatron.me/x/stillbox/pkg/gordio/database" ) func (s *Server) Ingest(ctx context.Context, call *calls.Call) { - // decouple this context from the one we call sinks with - db := database.FromCtx(ctx) - nctx := database.CtxWithDB(context.Background(), db) - - s.sinks.EmitCall(nctx, call) + s.sinks.EmitCall(context.Background(), call) }