diff --git a/config/db.connect.js b/config/db.connect.js index c83a167..ea53aa1 100644 --- a/config/db.connect.js +++ b/config/db.connect.js @@ -13,6 +13,6 @@ export const pool = mysql.createPool({ connectionLimit: 100, queueLimit: 30, connectTimeout: 60000, - max_connections : 505 + }); diff --git a/src/controllers/search.controller.js b/src/controllers/search.controller.js index c1b002f..74751ba 100644 --- a/src/controllers/search.controller.js +++ b/src/controllers/search.controller.js @@ -1,5 +1,6 @@ import { response } from "../../config/response.js"; import { status } from "../../config/response.status.js"; +import { BaseError } from "../../config/error.js"; import {viewSearchKeyword,viewSearchTag}from "../services/search.service.js"; import jwt from "jsonwebtoken";