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

Improve DB requests. #32

Open
pxp9 opened this issue Feb 21, 2023 · 0 comments
Open

Improve DB requests. #32

pxp9 opened this issue Feb 21, 2023 · 0 comments

Comments

@pxp9
Copy link
Owner

pxp9 commented Feb 21, 2023

  • maybe you should preload (with left join) default city when fetching a task so you don't have to make one more request when fetching the default city

  • several write operations in a single command should be executed inside of a transaction so db can be always consistent
    this comment is for all all commands but can be addressed in a single pr after this one is merged. because will require a lot of work

@pxp9 pxp9 mentioned this issue Feb 21, 2023
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

No branches or pull requests

1 participant