[ENHANCE] unix domain socket path too long
xqbumu opened this issue · comments
卜木 commented
If the length of socketPath exceeds 107, the listener will fail to be created, so we could:
- replace ulid with others, or change the rule of tmp dir
- add a config argument to set octosql's data dir
- or other methods
Lines 112 to 118 in 9ef95ec
refer: golang/go#43635
Kuba Martin commented
Thanks for raising the issue! I'll look into it.
Kuba Martin commented
Hey! This is now added. You can customize the plugin tmp dir using the OCTOSQL_PLUGIN_TMP_DIR environment variable. I'll consider adding a flag for this in the future.