Skip to content

Commit

Permalink
- Fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennenoel committed Jun 5, 2024
1 parent 7a0530c commit a850778
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 18 deletions.
26 changes: 9 additions & 17 deletions packages/mysql/src/configs/mysql.config.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
import {injectable} from "tsyringe";
import {ServiceDefinitionTagEnum, tag} from "@pristine-ts/common";

@tag(ServiceDefinitionTagEnum.MysqlConfig)
@injectable()
export class MysqlConfig {
constructor(
public readonly uniqueKeyname: string,
public readonly host: string,
public readonly port: number,
public readonly user: string,
public readonly password: string,
public readonly connectionLimit: number,
public readonly debug: boolean,
public readonly database: string,
) {
}
export interface MysqlConfig {
uniqueKeyname: string,
host: string,
port: number,
user: string,
password: string,
connectionLimit: number,
debug: boolean,
database: string,
}
2 changes: 1 addition & 1 deletion packages/telemetry/src/managers/tracing.manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class TracingManager implements TracingManagerInterface {
if (parentSpans) {
if (parentSpans.length > 1) {
if (!parentId) {
this.loghandler.error("Error finding the parent span, there are multiple spans with that keyname and no id is provided.", {parentKeyname});
//this.loghandler.error("Error finding the parent span, there are multiple spans with that keyname and no id is provided.", {parentKeyname});
} else {
parentSpan = parentSpans.find(span => span.id === parentId) ?? parentSpan;
}
Expand Down

0 comments on commit a850778

Please sign in to comment.