mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 11:01:44 +00:00
fixup
This commit is contained in:
parent
1b9b37f27d
commit
b125b3ecc7
@ -110,7 +110,6 @@ func (Service) Initialize(ctx context.Context, logger log.Logger, contract runti
|
||||
config.CodyGatewayEvents),
|
||||
},
|
||||
),
|
||||
dotcomDB,
|
||||
connect.WithInterceptors(otelConnctInterceptor),
|
||||
)
|
||||
subscriptionsservice.RegisterV1(
|
||||
@ -203,7 +202,7 @@ func (Service) Initialize(ctx context.Context, logger log.Logger, contract runti
|
||||
},
|
||||
},
|
||||
// Run importer in background
|
||||
importer.New(ctx, logger.Scoped("importer"), dotcomDB, dbHandle, config.DotComDB.ImportInterval),
|
||||
importer.NewPeriodicImporter(ctx, logger.Scoped("importer"), dotcomDB, dbHandle, config.DotComDB.ImportInterval),
|
||||
// Stop server first
|
||||
server,
|
||||
}, nil
|
||||
|
||||
Loading…
Reference in New Issue
Block a user