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

feat: add keepalive runtime #401

Merged
merged 1 commit into from
Aug 19, 2022
Merged

feat: add keepalive runtime #401

merged 1 commit into from
Aug 19, 2022

Conversation

xiaohuoni
Copy link
Member

在 app.ts 中配置

export function getKeepAlive(keepaliva: any[]) {
  // 会传入当前的配置值
  return [/users/];
}

Closes: #398

@changeset-bot
Copy link

changeset-bot bot commented Aug 19, 2022

🦋 Changeset detected

Latest commit: 5d2b45f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@alita/plugins Patch
alita Patch
@alita/native Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@xiaohuoni xiaohuoni merged commit 51d2a93 into master Aug 19, 2022
@xiaohuoni xiaohuoni deleted the feat-runtime-keepalive branch August 19, 2022 02:11
@github-actions github-actions bot mentioned this pull request Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

alita@3 中 keepalive 遗失运行时配置 getKeepAlive
1 participant