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(server): Pragmas from scripts #927

Merged
merged 1 commit into from
Mar 12, 2023

Conversation

dranikpg
Copy link
Contributor

@dranikpg dranikpg commented Mar 11, 2023

  1. What format should pragmas use? Now I just parse the first line that goes
-- pragma: *pragmas*
  1. I currently count settings from our base default, not from the configured ones. This means that script pragmas totally override everything, i.e. doing -- pragma: will reset to default state, even when the default script config flag had some pragmas included

Signed-off-by: Vladislav Oleshko <[email protected]>
@dranikpg dranikpg requested a review from romange March 11, 2023 20:54
@dranikpg dranikpg merged commit 149b1fa into dragonflydb:main Mar 12, 2023
@dranikpg dranikpg deleted the script-pragmas branch March 14, 2023 13:44
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.

2 participants