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

mkfifo not working? #31

Open
hoffmanc opened this issue Dec 20, 2022 · 1 comment
Open

mkfifo not working? #31

hoffmanc opened this issue Dec 20, 2022 · 1 comment

Comments

@hoffmanc
Copy link
Contributor

It looks like the named pipe doesn't handle large query log output well? It was locking up our hasura container. A regular file seems to work fine.

talking about this: https://github.com/afitzek/hasura-metric-adapter/blob/main/docker-compose.yml#L18

@afitzek
Copy link
Owner

afitzek commented Jan 9, 2023

I'm not 100% sure on the inner workings of named pipes, but a normal file is also an option of course. Its also mentioned in the README. :)

The files size might get quite large at some point see #11, so there are trade offs with both solutions.

"/bin/sh", "-c", ": > /tmp/log/stdout.log && /bin/graphql-engine serve | tee /tmp/log/stdout.log"

@dddenis dddenis mentioned this issue May 18, 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

2 participants