feat: implement core repository layer and redis caching infrastructure
Build and Release / release (push) Successful in 1m37s

This commit is contained in:
2026-06-03 22:15:27 +07:00
parent 4676e21740
commit dfe34b0029
17 changed files with 164 additions and 90 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ func NewRedisClient() (Cache, error) {
rdb := redis.NewClient(&redis.Options{
Addr: uri,
MinIdleConns: 10,
PoolSize: 500,
MinIdleConns: 50,
DialTimeout: 5 * time.Second,
ReadTimeout: 3 * time.Second,
WriteTimeout: 3 * time.Second,
+2
View File
@@ -20,6 +20,8 @@ func NewPostgresqlDB() (*pgxpool.Pool, error) {
if err != nil {
return nil, err
}
poolConfig.MaxConns = 100
poolConfig.MinConns = 10
var pool *pgxpool.Pool