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

Set GC rule for requestKey #119

Merged
merged 6 commits into from
May 28, 2024
Merged

Set GC rule for requestKey #119

merged 6 commits into from
May 28, 2024

Conversation

jiyoung-an
Copy link
Contributor

@jiyoung-an jiyoung-an commented May 21, 2024

Summary

  • Set GC rule for requestKey (max: 20, deleted: 10)
  • Fix typo in write rule

Related issues:

@jiyoung-an jiyoung-an added the bug Something isn't working label May 21, 2024
@jiyoung-an jiyoung-an self-assigned this May 21, 2024
Copy link
Contributor

@platfowner platfowner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks for handling it!

@@ -107,7 +107,7 @@ export default class Ainize {
*/
async getService(serviceName: string): Promise<Service> {
const servicePath = Path.app(serviceName).root();
const serviceData = await this.ain.getValue(servicePath);
const serviceData = await this.ain.getValue(servicePath, { is_shallow: true });
Copy link
Contributor Author

@jiyoung-an jiyoung-an May 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added is_shallow option, please check if other functions work well.

@platfowner
Copy link
Contributor

platfowner commented May 27, 2024

@yoojinko @akastercomcom could you review & test this pr? fyi, this change is required for ainft-js release and Aina launch: https://github.com/ainft-team/ainft-js

@yoojinko
Copy link
Collaborator

LGTM, Thanks. It works well. Sorry for my late review.

@platfowner
Copy link
Contributor

@yoojinko Thanks for testing!

@jiyoung-an
Copy link
Contributor Author

jiyoung-an commented May 28, 2024

Thank you for review! now merging...

@jiyoung-an jiyoung-an merged commit 1cb73a7 into develop May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants