Expose option to configure batch size of staged job polling
We have introduced an option jobs_batch_size in the projectConfig in medusa-config.js, allowing users to configure the batch size of staged jobs we poll from the database every 3rd second. By default, we poll 1000 jobs, which has proven to cause issues with some setups. This option aims to resolve those.
Example config:
module.exports = {
projectConfig: {
jobs_batch_size: 10 // poll 10 jobs every 3rd second
},
}
#6190d68089b2a Thanks @kasperkristensen! - fix(medusa): Implements listAndCount method for UserService, and updates list endpoint to accept the expected params.
fix(medusa-js): Update admin.users.list to accept query params.
fix(medusa-react): Update useAdminUsers hook to accept query params.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the medusa group with 1 update: @medusajs/medusa.
Updates
@medusajs/medusa
from 1.19.0 to 1.20.2Release notes
Sourced from
@medusajs/medusa
's releases.... (truncated)
Changelog
Sourced from
@medusajs/medusa
's changelog.... (truncated)
Commits
16851c5
chore: Version Packages (#6241)3ded231
fix(medusa): fix constructor container type for abstract services (#6259)82c728b
feat(medusa): Allow configuring of staged job polling batch size (#6333)ede221d
feat(cart):POST /store/carts
(#6273)884428a
feat: event aggregator (#6218)e2738ab
feat(auth): Make token auth default (#6305)9fda6a6
feat(auth): add authentication endpoints (#6265)061c449
[FIX] [Typo] Cart -> Card (#6302)45134e4
chore: local workflow proxying methods to pass context (#6263)a28822e
feat(customer): store addresses (#6283)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show