mirror of
https://gitee.com/johng/gf
synced 2026-06-27 01:43:33 +08:00
修复进程通信临时文件目录环境变量获取
This commit is contained in:
@ -50,7 +50,7 @@ func getCommFilePath(pid int) string {
|
||||
|
||||
// 获取进程间通信目录地址
|
||||
func getCommDirPath() string {
|
||||
tempDir := os.Getenv("gproc.tempdir")
|
||||
tempDir := os.Getenv(gPROC_TEMP_DIR_ENV_KEY)
|
||||
if tempDir == "" {
|
||||
tempDir = gfile.TempDir()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user