func NewRedisClient(addr string) *RedisClient {
	return &RedisClient{
		pool: &redis.Pool{
			MaxIdle:     5,
			MaxActive:   50,    
			Wait:        true,  
			IdleTimeout: 0,
			Dial: func() (redis.Conn, error) {
				return redis.Dial("tcp", addr)
			},
		},
	}
}
NewRedisClient creates a new RedisClient instance
package redisfs
import (
	"errors"
	"fmt"
	"strings"
	"github.com/cea-hpc/pdwfs/config"
	"github.com/cea-hpc/pdwfs/redigo/redis"
	"github.com/cea-hpc/pdwfs/util"
)
var (
	ErrRedisKeyNotFound = errors.New("Redis key not found")
)
func Try(err error) {
	if err != nil {
		panic(err)
	}
}
var Check = Try
func err(a interface{}, err error) error {
	return err
}
type RedisClient struct {
	pool *redis.Pool
}