Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor bug while starting the server #2161

Closed
meetulr opened this issue Apr 5, 2024 · 6 comments
Closed

Minor bug while starting the server #2161

meetulr opened this issue Apr 5, 2024 · 6 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@meetulr
Copy link
Contributor

meetulr commented Apr 5, 2024

Describe the bug

  1. The logs on server connection show an error due to incorrect mongo uri used in the loadPlugin function.
  2. Multiple connections to the database are being made in startup functions.

To Reproduce

Steps to reproduce the behavior:

  1. Start the server.
  2. See the logs.

Current behavior

current

Expected behavior

Should only connect to the database once, and show appropriate logs
desired

Solution

  1. Correct the mongo uri in the loadPlugin function.
  2. Before connecting to the database, check if a connection already exists, if not, then only establish a new connection.
@meetulr meetulr added the bug Something isn't working label Apr 5, 2024
@github-actions github-actions bot added the unapproved Unapproved for Pull Request label Apr 5, 2024
@meetulr
Copy link
Contributor Author

meetulr commented Apr 5, 2024

Good first issue.

@palisadoes palisadoes added the good first issue Good for newcomers label Apr 5, 2024
@Shahbaz898414
Copy link

can you assign me
?

@Huy1996 Huy1996 assigned Huy1996 and Shahbaz898414 and unassigned Huy1996 Apr 8, 2024
@Huy1996 Huy1996 removed the unapproved Unapproved for Pull Request label Apr 8, 2024
Copy link

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@github-actions github-actions bot added the no-issue-activity No issue activity label Apr 19, 2024
@Cioppolo14 Cioppolo14 removed the no-issue-activity No issue activity label Apr 19, 2024
@Cioppolo14
Copy link
Contributor

Unassigning due to no activity or open PR

@Faisal-imtiyaz123
Copy link

is this issue resolved??

@lokeshwar777
Copy link
Contributor

lokeshwar777 commented Apr 19, 2024

@palisadoes I would like to work on this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

7 participants