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

add Server configuration WOODPECKER_DATABASE_MAX_CONNECTIONS #3108

Closed
4 tasks done
sinlov opened this issue Jan 3, 2024 · 1 comment
Closed
4 tasks done

add Server configuration WOODPECKER_DATABASE_MAX_CONNECTIONS #3108

sinlov opened this issue Jan 3, 2024 · 1 comment
Labels
enhancement improve existing features server

Comments

@sinlov
Copy link
Contributor

sinlov commented Jan 3, 2024

Clear and concise description of the problem

woodpecker ci record jobs is slow, can change database max connections to improve?

Suggested solution

woodpecker use xorm.io for datastore engine

can use connections-pool, and support

  • engine.SetMaxIdleConns()
  • engine.SetMaxOpenConns()

let Server configuration add flag WOODPECKER_DATABASE_MAX_CONNECTIONS to support

Alternative

No response

Additional context

No response

Validations

  • Checked that the feature isn't part of the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
  • Read the Contributing Guidelines.
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@sinlov sinlov added the feature add new functionality label Jan 3, 2024
@qwerty287 qwerty287 added server enhancement improve existing features and removed feature add new functionality labels Jan 3, 2024
@qwerty287
Copy link
Contributor

qwerty287 commented Dec 21, 2024

Will be available in next version

#4212

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improve existing features server
Projects
None yet
Development

No branches or pull requests

2 participants